Running NRPE with XINETD

Viraxay Chinyavong sy at echolabs.net
Sun Aug 29 07:29:46 CEST 2004


Hello,

Can someone tell me why I could be having problems with running NRPE using
XINETD? It works fine if I just use the "init-script nrpe" that came with
the package but when I tried to start the daemon using XINETD, it doesn't
start the daemon so I get the "SSL Handshaking Connection error."

I've added the "nrpe            5666/tcp        # NRPE" line item to the
/etc/services file and created a nrpe file in the /etc/xinet.d/ directory as
shown below and perform a reload of /etc/rc.d/init.d/xinetd restart too and
the daemon still didn't start for some reason. Can I run it as root or do I
really need to create a nagios account and run it as nagios? 

# default: on
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
        flags           = REUSE
        socket_type     = stream        
        wait            = no
        user            = nagios
        server          = /usr/local/nagios/bin/nrpe
        server_args     = -c /usr/local/nagios/etc/nrpe.cfg --xinetd
        log_on_failure  += USERID
        disable         = no
        only_from       = 10.10.10.10
}


Many Thanks!






-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
_______________________________________________
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