[Nagiosplug-help] CHECK_NRPE: Error receiving data from host.

Rajendra Adhikari rajendra at subisu.net.np
Sun Nov 20 23:35:03 CET 2005


Hello everybody,
I got this error when ruuning check_nrpe from nagios monitor.
First let me explain what I was doing:
I want to monitor the service on the remote host that is on different 
subnet but reachable.
Nagios Monitoring Host: 192.168.1.5
Remote Host: xxx.xxx.xxx.10

nrpe daemon is running on remote host and check_nrpe is installed on 
local nagios monitor.
nrpe is run as xinetd as:
# default: on
# description: NRPE
service nrpe
    {
             flags           = REUSE
             socket_type     = stream
             wait            = no
             user            = root
             server          = /usr/local/nagios/
             server_args     = -c nrpe.cfg --inetd
             log_on_failure  += USERID
             disable         = no
             only_from       = xxx.xxx.xxx.10
     }

 From Nagios monitor:
# check_tcp -H 192.168.1.5 -p 5666
TCP OK - 0.000 second response time on port 
5666|time=0.000408s;0.000000;0.000000;0.000000;10.000000
This shows that  nrpe daemon is running on the remote host.

# check_nrpe -H 192.168.1.5 -p 5666 -c check_procs
CHECK_NRPE: Error receiving data from host.


check_procs plugin is installed in remote host.
When check_nrpe is executed on local nagios monitoring the remote host 
syslog message shows:
Nov 21 13:10:41 hostname xinetd[25919]: execv( /usr/local/nagios/ ) 
failed: Permission denied (errno = 13)

On remote host:
the permission to the files are for root.root and 755

The firwall on both hosts are stopped.  It seems that I am not able to 
execute the check_procs or anyother commands at remote host from nrpe_check.
I would be grateful if you kindly help me to sort out this problem.

regds,
Rajen.












More information about the Help mailing list