Getting a command to run
Posted: Fri Mar 27, 2015 1:40 pm
I am using the nrpe 2.15 client on a SUSE Linux 11sp3 server. I am trying to run a nagios command that is on the local machine from Nagios XI but get this message:
COMMAND: /usr/local/nagios/libexec/check_nrpe -H myhost -c check_uptime
OUTPUT: NRPE: Unable to read output
If I run it from the actual machine it works:
/usr/local/nagios/libexec/check_uptime
Uptime OK: 0 day(s) 2 hour(s) 28 minute(s) | uptime=148.000000;;;
COMMAND: /usr/local/nagios/libexec/check_nrpe -H myhost -c check_uptime
OUTPUT: NRPE: Unable to read output
If I run it from the actual machine it works:
/usr/local/nagios/libexec/check_uptime
Uptime OK: 0 day(s) 2 hour(s) 28 minute(s) | uptime=148.000000;;;