CHECK_NRPE: Error receiving data from host.

Jason Payne jasonp at iland.com
Thu May 29 17:47:09 CEST 2003


I have seen all of the posts concerning this problem and have yet to find a
solution.

NRPE Host is running as a standalone daemon. :
nagios   /usr/sbin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d

server_address and allowed_hosts are set properly.

This is my command Definition:
command[check_nagios]=/usr/local/nagios/libexec/check_nagios -F
/usr/local/nagios/var/status.log -e 5 -C nagios
Nagios ok: located 11 processes, status log updated 4 seconds ago

This is in /etc/services
nrpe            5666/tcp                        # NRPE


On the nagios machine:

command:
define command{
        command_name    check_nrpe_nagios
        command_line    /usr/local/nagios/libexec/check_nrpe -H
$HOSTADDRESS$ -c check_nagios
        }
Manual running of command:
> /usr/local/nagios/libexec/check_nrpe -H <host omitted> -c check_nagios
CHECK_NRPE: Error receiving data from host.

Checking to make sure the port is listening:
:/usr/local/nagios/etc# telnet <host omitted> 5666
Trying 65.57.248.8...
Connected to <host omitted>.
Escape character is '^]'.

<br>

Starting nmap V. 2.54BETA31 ( www.insecure.org/nmap/ )
Interesting ports on <host omitted> (4.19.12.247):
Port       State       Service
5666/tcp   filtered    unknown

Have debugging on:

/var/log/user.log:May 29 10:59:35 snoop nagios: SERVICE ALERT:
maelstrom;nrpe_nagios;UNKNOWN;HARD;12;CHECK_NRPE: Error receiving data from
host.
/var/log/user.log:May 29 10:59:35 snoop nagios: SERVICE EVENT HANDLER:
maelstrom;nrpe_nagios;UNKNOWN;HARD;12;handle-master-proc-event

The hangle-master-proc event turns on notifications when it sees that nagios
is down on the machine running the nrpe daemon.
This was working before I wiped the box it was running on (fbsd) and put it
on a debian box.

ANY help would be much appreciated.

Jason Payne
Iland Internet Solutions



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
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