nrpe processes not communicating
Posted: Wed Oct 03, 2012 1:50 pm
When I issue the command from the client:
[root@dbserver nrpe]# /usr/local/nagios/nrpe/libexec/check_load -w 50,55,60 -c 60,65,70
OK - load average: 0.35, 0.41, 0.37|load1=0.350;50.000;60.000;0; load5=0.410;55.000;65.000;0; load15=0.370;60.000;70.000;0;
It works.
But when I issue the command from the nagios server:
[root@ngserver lib]# /usr/local/nagios/nrpe/libexec/check_nrpe -c check_load -nH dbserver
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
No joy.
There are no informative messages in the /var/log/messages file on the remote box (dbserver).
Recently, we ran yum update on the dbserver. The nrpe processes were working well prior to that.
Some of the custom nrpe checks are working well.
So it seems to me that the nrpe on ngserver is not talking to the nrpe on dbserver.
I can telnet to dbserver:5666, so I know the port is listening.
[root@dbserver nrpe]# /usr/local/nagios/nrpe/libexec/check_load -w 50,55,60 -c 60,65,70
OK - load average: 0.35, 0.41, 0.37|load1=0.350;50.000;60.000;0; load5=0.410;55.000;65.000;0; load15=0.370;60.000;70.000;0;
It works.
But when I issue the command from the nagios server:
[root@ngserver lib]# /usr/local/nagios/nrpe/libexec/check_nrpe -c check_load -nH dbserver
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
No joy.
There are no informative messages in the /var/log/messages file on the remote box (dbserver).
Recently, we ran yum update on the dbserver. The nrpe processes were working well prior to that.
Some of the custom nrpe checks are working well.
So it seems to me that the nrpe on ngserver is not talking to the nrpe on dbserver.
I can telnet to dbserver:5666, so I know the port is listening.