NRPE daemon problem

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Thu Nov 21 21:20:50 CET 2002


Then do the following test:
 
On your client host, edit nrpe.cfg to include the following test definition:
 
command[check_nrpe]=echo "NRPE is alive"

(Since you're running NRPE from xinetd, you won't need to restart anything.)
 
>From your Nagios host, run the following command (from wherever you have
check_nrpe installed):
 
./check_nrpe <hostname> -c check_nrpe
 
where <hostname> is the name of your client host.  You should get output
like the following:
 
NRPE is alive
 
If you do not, then you have something fundamentally misconfigured in NRPE.
Go back and check the README.
 
If you *do* get the above response, then try running ./check_nrpe again, but
this time specify the name of one of your other tokens that you've defined
in nrpe.cfg, such as (and I'm guessing as to what you've got defined),
check_users, or check_load, or check_zombie_procs.  Here are those 3
definitions from *my* nrpe.cfg (just so you have something to compare
against):
 
command[check_users]=/home/nagios/libexec/check_users 80 100
command[check_load]=/home/nagios/libexec/check_load 5 10 15 20 25 30
command[check_zombie_procs]=/home/nagios/libexec/check_procs 5 10 Z

Once you've done these checks, share the results with the mailing list.
 
If those checks work from the command line, then it's time to go back to
your Nagios config files and make sure you have everything defined
correctly.
 
jc
 

-----Original Message-----
From: Philippe Leroux [mailto:pleroux at nocout.net]
Sent: Thursday, November 21, 2002 12:41 PM
To: Carroll, Jim P [Contractor]; 'Peter Pan';
Nagios-users at lists.sourceforge.net
Subject: RE : [Nagios-users] NRPE daemon problem


Hello i'am a newbie on nagios,
I meet with the same problem than Peter i think,  my status.log give me the
following
SERVICE;NOCOUT02lx;UPTIME;UNKNOWN;3/3;HARD;1037902698;1037902998;ACTIVE;1;1;
1;1037894426;0;UNKNOWN;120;16890;0;64286;1037901746;6;1;62;1;1;0;0.00;0;1;1;
1;CHECK_NRPE: Error receiving data from host.
[1037902811]
i succesfully connect to tcp 5666 port 
when i do # nmap -p 5666 localhost   i get port =open and service =unknow !
nrpe seems to be started under xinetd (chkconfig)
i add my nagios hostadress in the hosts.allow
in fact i follow the README file ..
thanks for your help 
Philippe L
 
 
 
 

-----Message d'origine-----
De : nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] De la part de Carroll, Jim
P [Contractor]
Envoyé : mercredi 20 novembre 2002 23:06
À : 'Peter Pan'; Nagios-users at lists.sourceforge.net
Objet : RE: [Nagios-users] NRPE daemon problem


Can you connect to port 5666 on the destination host?  E.g., "telnet
remotehost 5666"
 
If that works, then try running the check_nrpe command on the Netsaint
(Nagios?) host's command line.
 
Let us know how that goes.
 
jc

-----Original Message-----
From: Peter Pan [mailto:peterpan at pvamu.edu]
Sent: Wednesday, November 20, 2002 3:17 PM
To: Nagios-users at lists.sourceforge.net
Subject: [Nagios-users] NRPE daemon problem


I execute all of these steps. I download the tarball and ./confgure and make
all.
I put the check_nrpe plugin on the netsaint host.  On the remote machine I
add the appropraite lines to /etc/services and add the appropriate file to
xinetd.  I do everything the install/readme tells me, and yet I still get a
no-output response on my linux machine.  Any ideas on what I am missing
would really help, thanks alot.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021121/9f8e056e/attachment.html>


More information about the Users mailing list