nrpe: received 0 bytes from daemon

Moritz Gartenmeister moritz.gartenmeister at access.unizh.ch
Tue May 13 14:21:46 CEST 2003


hi

i have problems with the nrpe addon.

nrpe_check installed on nagios-server, in checkcommands the following 
entry: /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$

in services.cfg:
snip
check_command        check_nrpe!check_disk1
snip

on the remotehost:
nrpe compiled and moved to /usr/sbin/
plugins in /usr/local/plugins/libexec/

/etc/services changed to:
nrpe        5666/tcp        # nrpe
/etc/hosts.allow:
nrpe: LOCAL, 172.17.0.3, .my.domain.ch
/etc/inetd.conf
nrpe    stream    tcp    nowait    nagios    /usr/sbin/nrpe -i 
/usr/local/nagios/nrpe.cfg

sudo netstat -pta:
tcp    0    0 *:nrpe    *.*    LISTEN    176/inetd

but in the Webinterface shows:
check_disk1 --> CHECK_NRPE: Received 0 bytes from daemon. Check the 
remote server logs for error messages.

no entries in the syslog of the remotehost.

any ideas?

/usr/lib/nagios/plugins$ sudo ./check_nrpe -H 172.17.0.7 -p 5666
--> CHECK_NRPE: Received 0 bytes from daemon. Check the remote server 
logs for error messages.

regards
moritz


-- 
Moritz Gartenmeister
Bülachstrasse 9 H
8057 Zürich
01 312 01 25
079 350 99 86



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list