check_logfiles documentation

Gerhard Lausser Gerhard.Lausser at consol.de
Fri Apr 18 15:31:09 CEST 2008


Hi, 

> CRITICAL -(17 errors, 1 warning) - [4/17/08 13:51:42:420 EDT] 00000037
Jay is right, the code is sprintf "%s - %s...", so there _must_ be a space
after the hyphen. 
Besides that, the nagios servide definition is a bit special (there is no
need for a command check_nrpe_log. call it check_nrpe because you want to
use it not only for check_logfiles), but it should work.

Login at rflx01app and make 
touch /tmp/check_logfiles; tail -f /tmp/check_logfiles

As long as this file exists, check_logfiles writes debugging information in
it. So you can watch, wether check_logfiles is executed at all when running
under Nagios control.
What we need to find out is, wether check_logfiles runs and produces output
which nagios doesn't accept (which would be strange, because it works when
you call check_nrpe manually) or if the error happens even before check_nrpe
is executed. Can you also have a look at the nagios.log?

Gerhard




-------------------------------------------------------------------------
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