Yet another problem concerning NRPE, i have browsed around but was unable to find any info on this particular problem so here goes.
I have installed NRPE on a RedHat Linux machine (2.6.9-11.ELsmp precompiled RHEL4 thing), it is configured to run via xinetd with the following config:
# default: on
# description: NRPE
flags = REUSE
socket_type = stream
wait = no
user = cadm
server = /q/disk_0/nrpe-2.0b3/nrpe
server_args = -c /q/disk_0/nrpe-2.0b3/nrpe.cfg -i
log_on_failure += USERID
disable = no
only_from = 22.214.171.124 127.0.0.1
It is installed in /q/disk_0/nrpe-2.0b3/ on the machine and nrpe.cfg contains the following:
command[check_disk]=/q/disk_0/nrpe-2.0b3/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
Here comes the problem, upon running check_nrpe from my monitoring host, i get the well known error receiving data from daemon.
However doing a telnet from monitor host to nrpe host, works fine and doing "check_nrpe -H nrpehosthere" gives me the response "NRPE v2.0".
Also looking at the logs on the NRPE host it seems like everything works fine, SSL handshake and so on.
Running check_disk on the NRPE host directly also reports the correct answer, so it must be the monitoring host, however i can get no further log messages (or i don't know where to look or enable).
To complete the strangeness, i did the exact same installation 2 days ago on a machine that is 100% identical in hardware and operating software, only difference is number of mounted partitions...and it worked with no problems.
Anyone experienced this before, or got any ideas as to what might be wrong?