nrpe

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Thu Jan 16 20:43:05 CET 2003


And what happens when you login to the client which is running NRPE, su to
nagios, then run the following manually:
 
  /usr/local/nagios/libexec/check_users -w 5 -c 10
 
While we're at it, add this to your nrpe.cfg:
 
  command[check_nrpe_status]=echo "OK - NRPE is alive"

then at the prompt, try this:
 
  ./check_nrpe -H 127.0.0.1 -c check_nrpe_status
 
If you get "OK - NRPE is alive", then go to your Nagios server and try:
 
  ./check_nrpe -H 129.207.59.33 -c check_nrpe_status
 
and see how that goes.  (I'm assuming that's the correct IP address.)
 
jc

-----Original Message-----
From: Justin [mailto:justin at pvamu.edu]
Sent: Thursday, January 16, 2003 1:34 PM
To: Carroll, Jim P [Contractor]
Subject: Re: [Nagios-users] nrpe


Yes.
 
[root at antispam src]# telnet localhost 5666
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
[root at antispam src]#


----- Original Message ----- 
From: Carroll, Jim P [Contractor] <mailto:jcarro10 at sprintspectrum.com>  
To: 'Justin' <mailto:justin at pvamu.edu>  
Cc: Nagios-Users (E-mail) <mailto:nagios-users at lists.sourceforge.net>  
Sent: Thursday, January 16, 2003 12:44 PM
Subject: RE: [Nagios-users] nrpe

Can you telnet to port 5666 on your client?

-----Original Message-----
From: Justin [ mailto:justin at pvamu.edu <mailto:justin at pvamu.edu> ]
Sent: Thursday, January 16, 2003 11:46 AM
To: Carroll, Jim P [Contractor]
Subject: Re: [Nagios-users] nrpe


This is what my nrpe config looks like.
 
command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c
30,25,20
command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p
/dev/hda1
command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p
/dev/hdb1
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10
-s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c
200

 
Here is my xinetd script 
 
 # default: on
        # description: NRPE
        service nrpe
        {
                flags           = REUSE
                socket_type     = stream
                wait            = no
                user            = nagios
                server          = /usr/sbin/nrpe
                server_args     = -i /usr/local/nagios/etc/nrpe.cfg
                log_on_failure  += USERID
                disable         = no
                only_from       = 129.207.59.31 129.207.59.33 127.0.0.1
 
Here is the error
 
[root at antispam src]# ./check_nrpe -H 129.207.59.33 -p 5666 -c check_users
CHECK_NRPE: Error receiving data from host.

Thanks for the help Jim
 
Justin Wedeking
Info Tech


----- Original Message ----- 
From: Carroll, Jim P  <mailto:jcarro10 at sprintspectrum.com> [Contractor] 
To: 'Justin' <mailto:justin at pvamu.edu>  ; Nagios Users
<mailto:nagios-users at lists.sourceforge.net>  
Sent: Wednesday, January 15, 2003 5:24 PM
Subject: RE: [Nagios-users] nrpe

Do you have check_ping defined in the nrpe.cfg file of the client host?
 
jc

-----Original Message-----
From: Justin [ mailto:justin at pvamu.edu <mailto:justin at pvamu.edu> ]
Sent: Wednesday, January 15, 2003 8:55 AM
To: Nagios Users
Subject: [Nagios-users] nrpe


I check the recent messages to make sure my question had not been answered.
But what is the common cause ofthis error?  The nrpe dameon is running on
the remote host, and plugins are up to date etc.
Thanks
 
 
snatch:/usr/local/nrpe-1.7/src# ./check_nrpe -H antispam.pvamu.edu -c
check_ping
CHECK_NRPE: Error receiving data from host.

 
Justin Wedeking
Info Tech

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030116/7d10a641/attachment.html>


More information about the Users mailing list