I'm having issues getting a check_file_age check working using nrpe.
/etc/nagios/nrpe.conf
Code: Select all
command[check_file_age]=/usr/lib64/nagios/plugins/check_file_age -w 60 -c 300 -f /resources/fileCode: Select all
[root@localhost]#/usr/lib64/nagios/plugins/check_nrpe -H 127.0.0.1 -c check_file_ageCode: Select all
[root@localhost]#/usr/lib64/nagios/plugins/check_file_age -w 60 -c 300 -f /resources/file
FILE_AGE CRITICAL: /resources/file is 7533 seconds old and 3 bytes | age=7533s;60;300 size=3B;0;0;0Thanks in advance!