nrpe not working

Jeff McKeon jsm at inpro.net
Mon Nov 25 21:31:44 CET 2002


Hey guys/gals,

Needed to set up linux disk monitoring of a remote host.  downloaded
nrpe (as suggested by mailing list) and installed the daemon on the
remote host according to the directions.  Also copied the check_disk
plugin to that remote server.  

installed on the nagios host server and coped the check_nrpe to the
/usr/local/nagios/libexec dir.

confirmed that a check_disk command issued at the command prompt will
work on the remote host.  So at least I know that works...

Left the nrpe.cfg file as is, placed it in the /etc/ dir.

below is the nrpe xinetd file I've modified.

Problem::::

If on the nagios host machine I issue:

[jsm at rh80-jsm jsm]$ cd /usr/local/nagios/libexec/
[jsm at rh80-jsm libexec]$ ./check_nrpe 10.32.1.12 -c check_disk1
CHECK_NRPE: Error receiving data from host.
[jsm at rh80-jsm libexec]$

I get the error shown.

If I look on the remote host in the var/log/messages file I get:

Nov 25 20:12:37 db02tc07927 xinetd[2777]: execv(
/usr/local/nagios/libexec ) failed: Permission denied (errno = 13)

Any suggestions on what I'm doing wrong?

        # default: on
        # description: NRPE
        service nrpe
        {
                flags           = REUSE
                socket_type     = stream
                wait            = no
                user            = nagios
                server          = /usr/local/nagios/libexec/nrpe
                server_args     = -i /etc/nrpe.cfg
                log_on_failure  += USERID
                disable         = no
                only_from       = 127.0.0.1 10.16.2.101
        }



Nov 25 20:12:37 db02tc07927 xinetd[2777]: execv(
/usr/local/nagios/libexec ) failed: Permission denied (errno = 13)




-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en




More information about the Users mailing list