nrpe (No output returned from plugin)

Jonathan Murray jmurray at whoi.edu
Mon Jan 29 22:25:38 CET 2007


I am trying to set up disk space check on a client running nrpe.

Server: nagios-2.5-2.fc4
	nagios-plugins-nrpe-2.3-2.2.fc4.rf

Client: nagios-nrpe-2.3-2.2.fc4.rf
	nagios-plugins-1.4.4-1.fc4

On the server, if I run the command to test it, it seems to produce 
valuable data:

/usr/lib/nagios/plugins/check_nrpe -H codfish -c check_disk
DISK OK - free space: / 14830 MB (23% inode=97%); /boot 209 MB (91% 
inode=99%); /data 18385 MB (28% inode=99%); /dev/shm 503 MB (100% 
inode=99%);| /=47410MB;65608;65618;0;65628 /boot=20MB;223;233;0;243 
/data=45876MB;67739;67749;0;67759 /dev/shm=0MB;483;493;0;503

However, when it runs from nagios directly, I see the following in the 
web interface:


/dev/sda Free Space <snip>	(No output returned from plugin)

in /var/log/messages I see the following error:

Jan 29 14:51:47 codfish nrpe[31801]: Network server bind failure (99: 
Cannot assign requested address)
Jan 29 14:53:30 codfish nrpe[31828]: Network server bind failure (99: 
Cannot assign requested address)

I am using port 5666 on both the client and the server.

I am running nrpe out of xinitd on the machine I am trying to monitor 
(client):

/etc/xinetd.d/nrpe
# default: off
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
         flags           = REUSE
         type            = UNLISTED
         port            = 5666
         socket_type     = stream
         wait            = no
         user            = nobody
         group           = nobody
         server          = /usr/sbin/nrpe
         server_args     = -c /etc/nagios/nrpe.cfg --inetd
         log_on_failure  += USERID
         disable         = no
         only_from       = 127.0.0.1 128.128.64.181
}

nrpe installed on both server and client, both machines have entries in 
/etc/services for nrpe to use port 5666

Could someone out there suggest some things to check?

thanks



-- 
Jonathan Murray
Linux Support


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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