check_file_age NRPE: Unable to read output
Posted: Thu Feb 06, 2014 12:55 am
Hi,
I am trying to get file age with check_file_age plugin.
When I ran check_file_age command getting correct output, I used following command:
Output:
FILE_AGE CRITICAL: /tmp/test is 1673 seconds old and 10 bytes
I added same above command in nrpe_local.cfg & following is line in my nrpe_local.cfg
After adding above command I restarted nrpe daemon with command "service nagios-nrpe-server restart"
Now If I run above command using check_nrpe, the output is "NRPE: Unable to read output"
I used following command:
Output:
NRPE: Unable to read output
From past 2 days I am trying to debug this issue, but unable to get any clue.
Someone please help me to resolve this issue.
Thanks,
Sandeep.
I am trying to get file age with check_file_age plugin.
When I ran check_file_age command getting correct output, I used following command:
Code: Select all
/usr/lib/nagios/plugins/check_file_age -f /tmp/test -w 100 -c 200 FILE_AGE CRITICAL: /tmp/test is 1673 seconds old and 10 bytes
I added same above command in nrpe_local.cfg & following is line in my nrpe_local.cfg
Code: Select all
command[age]=/usr/lib/nagios/plugins/check_file_age -f /tmp/test -w 100 -c 200Now If I run above command using check_nrpe, the output is "NRPE: Unable to read output"
I used following command:
Code: Select all
/usr/lib/nagios/plugins/check_nrpe -H localhost -c ageNRPE: Unable to read output
From past 2 days I am trying to debug this issue, but unable to get any clue.
Someone please help me to resolve this issue.
Thanks,
Sandeep.