check_logfiles documentation

Victor Lanza vicjalan at gmail.com
Thu Apr 17 00:10:15 CEST 2008


That was copy and paste and it was incorrect in my config file as well.
Thanks for pointing it out. :) I used that port (as a newbie that I am)
because I saw it in the examples provided online. I have no clue what this
value should really be. 

You're right, the way I've configured NRPE is to used TCP wrappers, but I'm
100% sure this works as I send a simple check_disk command using NRPE and I
get the proper response. Furthermore, I do have nrpe added to /etc/services
and configured the nagios server to be allowed to communicate with the NRPE
daemon which can be proven by the issuing commands like the one above.



-----Original Message-----
From: Jay R. Ashworth [mailto:jra at baylink.com] 
Sent: Wednesday, April 16, 2008 3:51 PM
To: Victor Lanza
Subject: Re: [Nagios-users] check_logfiles documentation

On Wed, Apr 16, 2008 at 03:31:05PM -0400, Victor Lanza wrote:
> 	define command {
>        command_name  check_nrpe_arg
>        command_line  $USER1$/check_nrpe -p 5777 -H $HOSTADDRESS$ -t $ARG1$
> c $ARG2$ -a $ARG3$
>        }

If that was copy and paste, note that what should be -c is missing te
hyphen, and that your port nunmber is non-standard (I came in late; you
might have done that on purpose).

If you're sending arguments and the target nrpe was configured to
reject them it will also bounce.  But not the way you're seeing.

I've heard that some builds of the nrpe daemon are configured to use
TPC wrappers, and thus require a properly configured /etc/hosts.{allow,deny}
(which also implies adding nrpe to /etc/services).

Could one of those things be your problem?  

Cheers,
-- jr '(just started yesterday.  yes, I learn fast :-)' a
-- 
Jay R. Ashworth                   Baylink
jra at baylink.com
Designer                     The Things I Think                       RFC
2100
Ashworth & Associates     http://baylink.pitas.com                     '87
e24
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647
1274

	     Those who cast the vote decide nothing.
	     Those who count the vote decide everything.
	       -- (Joseph Stalin)


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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