Handles logfiles of > 1GB size. More options migrated from the config file to the command line. New macros $CL_PROTOCOLFILE$ and $CL_SERVICEPERFDATA$
Smaller changes:
Templates, bzip2 archives, scriptparam bugfix, threshold counters are inherited.
See the examples. I made it easier to scan a logfile which contains the forwarded eventlogs of windows clients.
2.3 adds support for AIX errpt output instead of logfiles. Performance data have now a correct format. Logfiles can be prefiltered with syslogclient.
in plugins-scripts/Nagios/CheckLogfiles.pm goto the empty line 690 and add
return -r $file
This release adds smart scripts and embedded perl scripts. For details see http://www.consol.de/opensource/nagios/check-logfiles
If you define your own rotation patterns, check_logfiles will not work correctly. Version 2.1.1 has this bug fixed.
check_logfiles was completely picked apart and reassembled in a more modular way.
There is now official support for logfiles which are simply overwritten instead of rotated.
Af you set the option protocol, a (empty) protocol file will be created even if no pattern matched. this can fill up your protocoll directory with up to 2000 empty files.
At the request of some users who implemeted the syslogd checking, a new parameter $delay was introduced.
- Added execution of scripts if inverse patterns are not found.
- Corrected typos in README
- Added command line parameters as proposed by Hendrik "Andurin" Baecker. For simple configurations you no longer need a configfile.
i am currently on vacation till sep-4 and don't read my mail@consol.de.
You can reach me at lausser@users.sourceforge.net
in 1.3.5 support for the nsca option was dropped in favour of the much more flexible (pre/post)script(params/stdin) options. Please see the examples section in README. You will find there everything you need if you use send_nsca.
Added nsca support for standalone use of check_logfiles.
If configured, check_logfiles sends it's results to a nsca daemon.
- Added "watchdog" patterns which raise an alert when not found.
- Added exceptions for patterns which stop processing of a preceding match.
- More documentation in README
- Fixed syntax errors found by Doug Lochart.
Release 1.3.1 is buggy. I released a file with some syntax errors. Release 1.3.2 is coming a.s.ap.
An unreadable logfile will now be counted as an unknown error.
Old protocol files will be deleted automatically.
The new release now supports macros in the patterns, simple thresholds and Debian style logfile rotation.
Release 1.2.4 had a bug in the fake seek algorithm. This could lead to dropped events which occured between a check_logfiles run and a logfile rotation
Filehandles from sumcommands (gzip in this case) are not seekable, so positioning to the last position in a compressed archive failed. A workaround emulating seek by sysread was found.
- Minor modifications to tracing
- Duplicate file detection to prevent scanning the same file twice.
- Added examples to README
in rotation scenarios, where the compressed logfiles keep the original file's modification time, you need release 1.2.1