I am using NRPE 2.0 created by Ethan Galstad for HP-UX.
When Nagios Server is running the check_nrpe command I get the following error: “NRPE: Unable to read output”.
nrpe[19867]: Starting up daemon
nrpe[19867]: Listening for connections on port 5666
nrpe[19867]: Allowing connections from: 10.7.3.125
nrpe[20057]: Connection from 10.7.3.125 port 3857
nrpe[20057]: Host address checks out ok
nrpe[20057]: Handling the connection…
nrpe[20057]: Host is asking for command ‘check_load’ to be run…
nrpe[20057]: Running command: /opt/nrpe/libexec/check_load -w 15,10,5 -c 30,25,20
nrpe[20057]: Command completed with return code 3 and output:
nrpe[20057]: Return Code: 3, Output: NRPE: Unable to read output
nrpe[20057]: Connection from 10.7.3.125 closed.
When I run the same command locally on monitored machine than all is ok.
#> /opt/nrpe/libexec/check_load -w 15,10,5 -c 30,25,20
load average: 0.16, 0.13, 0.11
On other HP-UX machine the same plugin works without any errors.
Did anyone have the same problem?
Thanks
Ewa