NRPE uninstall?

Jay R. Ashworth jra at baylink.com
Fri Apr 18 14:20:45 CEST 2008


On Fri, Apr 18, 2008 at 08:55:41AM +0200, Sebastian Ries wrote:
> > And note that you cannot *comment the end of that line*.
> 
> What exactly do you mean?
> 
> Do you want to say that if I add
> 
> allowed_hosts=ip.of.nagios.server    # <comment>
> 
> to my nrpe.conf this line is not parsed an treated as if the whole line
> was a comment?

By inspection of the nrpe.c source, my interpretation is that comments
in nrpe.conf can only be entire lines.  If you put the # sign anywhere
but column 1, then it will (attempt to) be parsed by the individual
line data "parser", and Bad Things Will Happen.

What you illustrate is exactly what I did, and that turned out to be
the reason why I couldn't get nrpe to talk (stage one).

Once you get that part right, then you'll likely have to fiddle the
arguments to check_nrpe on the monitoring server a tad (this is the
problem if all your remote checks pass, but the status on the service
detail is "NRPE v2.5.1" or suchlike).

Cheers,
-- jra
-- 
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