Page 1 of 1

Getting a command to run

Posted: Fri Mar 27, 2015 1:40 pm
by jkinning
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;;;

Re: Getting a command to run

Posted: Fri Mar 27, 2015 1:44 pm
by tmcdonald
Have you looked over our NRPE troubleshooting doc?

http://assets.nagios.com/downloads/nagi ... utions.pdf

Section 7, see if anything there helps.

Re: Getting a command to run

Posted: Fri Mar 27, 2015 2:09 pm
by jkinning
Thanks. A lot of documentation for Nagios. Guess I should have checked there first.

Re: Getting a command to run

Posted: Fri Mar 27, 2015 2:10 pm
by tmcdonald
No problem. Did that work for you?