How to debug NRPE

Mark Pearson Mark.Pearson at uftwf.org
Thu Nov 17 21:31:43 CET 2005


Disregard this email.  It appears I had a brain cloud (Joe vs. the Volcano,
lol) and left the "4" off my last argument on the remote host.  UGH!

 

Thanks anyway,

 

Mark T. Pearson
Senior Network Engineer
UFT Welfare <BLOCKED::http://www.uft.org/>  Fund
52 Broadway, 8th Floor
New York, NY 10004
(212) 539-0605 

  _____  

From: Mark Pearson [mailto:Mark.Pearson at uftwf.org] 
Sent: Thursday, November 17, 2005 3:13 PM
To: 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] How to debug NRPE

 

Hey everyone,

 

I am trying to debug a problem that I will describe below, but for the life
of me I cannot locate the debugging info for NRPE.  I enabled debugging in
the nrpe.cfg and I'm tailing the /var/log/messages but only the standard
messages appear there.

 

Here is what I am trying to do:

 

On the Nagios Host I am running the following command manually.

            ./check_nrpe -H app-dev -p 5666 -c check_tcp -a 1 5 as400 449

 

On the Nagios Remote this the corresponding command in the nrpe.cfg.

            command[check_tcp]=/usr/local/nagios/libexec/check_tcp -w $ARG1$
-c $ARG2$ -H $ARG3$ -p $ARG$

 

On the Nagios Host I get the following error.

            CHECK_NRPE: Error receiving data from daemon.

 

I am currently using the nrpe daemon to call other plugins (i.e. Check_disk
& check_load) which work fine but I am not passing arguments.

 

Now, I have reconfigured the nrpe daemon by running "./configure
--enable-command-args" and I have set the "don't_blame_nrpe=1" to.  After
recompiling nrpe I replaced the check_nrpe on the Nagios host as well as
replaced the /usr/sbin/nrpe with the newly built file.

 

What else am I missing?  Am I passing the arguments incorrectly?

 

Thanks in advance for any help.

 

Mark T. Pearson
Senior Network Engineer
UFT Welfare Fund <BLOCKED::http://www.uft.org/> 
52 Broadway, 8th Floor
New York, NY 10004
(212) 539-0605 

 



****************************************************************************
***
The views, opinions, and judgments expressed in this message are solely
those of the author. The message contents have not been reviewed or approved
by the UFT Welfare Fund.
****************************************************************************
***



*******************************************************************************
The views, opinions, and judgments expressed in this message are solely those of the author. The message contents have not been reviewed or approved by the UFT Welfare Fund.
*******************************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051117/0bcb7892/attachment.html>


More information about the Users mailing list