bug in check_logfiles? existing file is reported as not found

Mirco Benjamin Drick midr at stibo.com
Mon Jan 4 09:54:09 CET 2010


Hi list,
Tried unsuccessfully to find a support forum for check_logfiles, maybe someone here can help me ;-)

I have check_logfiles running on a win2k3 machine and it checks for a file using a date pattern (see config snipped below). This morning nagios gave an error that the logfile with todays date (ie 2009-12-30.log) did not exist - but it did, this has been working for some weeks without problems until now. Exchanging the date pattern with the actual file name gave the same result - check_logfiles claims the file did not exist. Trying with any other file (fx 2009-12-29.log or 2009-12-31.log) in the same location gives no problem.

Any ideas how to debug further on this? Otherwise it looks like the problem will disappear tomorrow as my created file with tomorrows datepattern works ok.

Thanks
Mirco


Check_logfiles.cfg:
@searches = (
  {
    logfile => 'C:\STEP2CIFileMover\logs\$CL_DATE_YYYY$-$CL_DATE_MM$-$CL_DATE_DD$.log',
    criticalpatterns => 'ERROR',
    options => 'noprotocol,perfdata,nocase,sticky=28800'
  },
);


............................................................
Mirco Drick | Systems Administrator

Stibo Systems A/S
MASTERING Data Management

T 	+45 89 39 11 11
www.stibosystems.com 
............................................................
This e-mail is intended for the addressee only and may contain confidential information.  If you are not the intended recipient, you must not copy, distribute or take any action in reliance on it.  If this email is sent to you in error, please notify us immediately by telephone or by e-mail.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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