NRPE

Alloo, Vincent v-alloo at ti.com
Mon Sep 19 10:12:41 CEST 2005


This config works on my box (RHEL3.0U2):

 

% cat /etc/xinetd.d/nrpe 

# default: on

# description: The rshd server is the server for the rcmd(3) routine
and, \

#       consequently, for the rsh(1) program.  The server provides \

#       remote execution facilities with authentication based on \

#       privileged port numbers from trusted hosts.

service nrpe

{

        flags           = REUSE

        disable = no

        socket_type             = stream

        wait                    = no

        user                    = nagios 

        log_on_failure          += USERID

        server                  =  /apps/nagios/nrpe/nrpe 

        server_args             =  -c /db/sysadmin/nagios/nrpe.cfg
--inetd 

}

 

Regards,

 

 

Vincent Alloo

TI France Design Systems Operations Manager

Europe, Middle East and Africa IT Services

Texas Instruments France

 

E-Mail: v-alloo at ti.com

Phone: +33 4 93 22 26 97

Mobile: +33 6 82 13 00 80

________________________________

From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Matt
Wells
Sent: Sunday, September 18, 2005 12:38 AM
To: Jonathan Carpenter; Nagios-Users-List
Subject: Re: [Nagios-users] NRPE

 

I never got it working in xinet.d I ended up just tossing it in as a
daemon because it was so much easier.

/usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d

I'm still getting the error for SSL though.. can not complete handshake.




----- Original Message -----
Subject: [Nagios-users] NRPE
From:  Jonathan Carpenter <jonathan.carpenter at gmail.com>
To: "Nagios-Users-List" <nagios-users at lists.sourceforge.net>
Date: 17-09-2005 13:26



I have installed nagios and configured nagios on one server to monitor
several servers with the check_ping plugin. Everything works great now I
have installed NRPE on one of the remote servers running Fedora 4. I
have edited /etc/services and added the following 

 

nrpe     5666/tcp     # NRPE

 

and created a file in /etc/xinetd.d/ called nrpe the contents in it are

 

 # default: on
 # description: NRPE
 service nrpe
 {
         flags           = REUSE
         socket_type     = stream        
         wait            = no
         user            = nagios
         server          = /home/nagios/nrpe
         server_args     = -c /home/nagios/nrpe --inetd
         log_on_failure  += USERID
         disable         = no
  only_from       =  1.2.3.4 <http://1.2.3.4>  <-- ip to nagios server
 }


  When I run /etc/rc.d/init.d/xinetd restart I get these errors in
/var/log/messages

Sep 17 02:56:19 db1 xinetd: xinetd startup succeeded
Sep 17 02:56:19 db1 xinetd[18797]: bind failed (Address already in use
(errno = 98)). service = nrpe
Sep 17 02:56:19 db1 xinetd[18797]: Service nrpe failed to start and is
deactivated. 
Sep 17 02:56:19 db1 xinetd[18797]: xinetd Version 2.3.13 started with
libwrap loadavg options compiled in.
Sep 17 02:56:19 db1 xinetd[18797]: Started working: 0 available services
 

   Any help would be greatly appreciated.
-- 
Jonathan Carpenter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050919/180efa26/attachment.html>


More information about the Users mailing list