Good Morning guys, You guys are awesome!!!!!! Well I don't know exactly what did it but its working!...
I changed the check_nrpe_log to check_nrpe and I ran the touch command you asked me to run and when I restarted nagios boom it worked. And btw the hyphen was an error on my part..I copied and pasted the output into the email but I must have touched the mousepad or something and removed the space. I think I just needed a break. I was out Friday which is why didn't respond sooner. Thanks once again... Cheers, VL -----Original Message----- From: Gerhard Lausser [mailto:[EMAIL PROTECTED] Sent: Friday, April 18, 2008 9:31 AM To: 'Victor Lanza'; 'Jay R. Ashworth' Cc: nagios-users@lists.sourceforge.net Subject: AW: [Nagios-users] check_logfiles documentation 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@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