NRPE: Unable to read output
Posted: Tue Apr 14, 2015 2:21 pm
I have two nrpe clients
[root@blah2 etc]# /usr/bin/sudo /usr/local/nagios/libexec/check_file_age -c 30 -f /u01/app/oracle/product/10gr202/j2ee/nns_jq/log/nns_jq_default_island_1/oc4j.out
FILE_AGE OK: /u01/app/oracle/product/10gr202/j2ee/nns_jq/log/nns_jq_default_island_1/oc4j.out is 1 seconds old and 94518751 bytes
[root@blah1 etc]# /usr/bin/sudo /usr/local/nagios/libexec/check_file_age -c 30 -f /u01/app/oracle/product/10gr202/j2ee/nns_jq/log/nns_jq_default_island_1/oc4j.out
FILE_AGE OK: /u01/app/oracle/product/10gr202/j2ee/nns_jq/log/nns_jq_default_island_1/oc4j.out is 1 seconds old and 96979751 bytes
command[check_nnsjp_oc4j_file]=/usr/bin/sudo /usr/local/nagios/libexec/check_file_age -c 30 -f /u01/app/oracle/product/10gr202/j2ee/nns_jq/log/nns_jq_default_island_1/oc4j.out
root@server:/usr/lib/nagios/plugins# ./check_nrpe -H xx.xx.xx.2 -c check_nnsjp_oc4j_file
NRPE: Unable to read output
root@server:/usr/lib/nagios/plugins# ./check_nrpe -H xx.xx.xx.1 -c check_nnsjp_oc4j_file
FILE_AGE OK: /u01/app/oracle/product/10gr202/j2ee/nns_jq/log/nns_jq_default_island_1/oc4j.out is 0 seconds old and 97044990 bytes
on both servers
-rwsr-sr-x 1 root root 3050 Dec 15 2013 check_file_age
in sudoers file -- nagios ALL=(ALL) NOPASSWD: /usr/local/nagios/libexec/check_file_age *
what else can be wrong with the server throwing NRPE: Unable to read output
[root@blah2 etc]# /usr/bin/sudo /usr/local/nagios/libexec/check_file_age -c 30 -f /u01/app/oracle/product/10gr202/j2ee/nns_jq/log/nns_jq_default_island_1/oc4j.out
FILE_AGE OK: /u01/app/oracle/product/10gr202/j2ee/nns_jq/log/nns_jq_default_island_1/oc4j.out is 1 seconds old and 94518751 bytes
[root@blah1 etc]# /usr/bin/sudo /usr/local/nagios/libexec/check_file_age -c 30 -f /u01/app/oracle/product/10gr202/j2ee/nns_jq/log/nns_jq_default_island_1/oc4j.out
FILE_AGE OK: /u01/app/oracle/product/10gr202/j2ee/nns_jq/log/nns_jq_default_island_1/oc4j.out is 1 seconds old and 96979751 bytes
command[check_nnsjp_oc4j_file]=/usr/bin/sudo /usr/local/nagios/libexec/check_file_age -c 30 -f /u01/app/oracle/product/10gr202/j2ee/nns_jq/log/nns_jq_default_island_1/oc4j.out
root@server:/usr/lib/nagios/plugins# ./check_nrpe -H xx.xx.xx.2 -c check_nnsjp_oc4j_file
NRPE: Unable to read output
root@server:/usr/lib/nagios/plugins# ./check_nrpe -H xx.xx.xx.1 -c check_nnsjp_oc4j_file
FILE_AGE OK: /u01/app/oracle/product/10gr202/j2ee/nns_jq/log/nns_jq_default_island_1/oc4j.out is 0 seconds old and 97044990 bytes
on both servers
-rwsr-sr-x 1 root root 3050 Dec 15 2013 check_file_age
in sudoers file -- nagios ALL=(ALL) NOPASSWD: /usr/local/nagios/libexec/check_file_age *
what else can be wrong with the server throwing NRPE: Unable to read output