Home Directory Plugins Log Files check_logfiles

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me
Don't miss your chance to attend the 2014 Nagios World conference!

Don't miss your chance to attend the 2014 Nagios World Conference, Oct 13-16th. Informative Sessions, Networking, Food and Cocktails! Visit go.nagios.com/conference/ for more information or to register.


check_logfiles

Bookmark and Share

Current Version
3.0.4
Last Release Date
2009-09-20
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
Owner
E-mail
Hits
122444
check_logfiles is used to scan the lines of a file for regular expressions.
The plugin check_logfiles was designed to operate in mission critical environments where missing log lines after a logfile rotation could not be tolerated. When such a logfile rotation takes place, check_logfiles detects this and analyses the lines of the archived logfile, even if it's compressed.
It normally scans only the lines of a logfile which were added since the last run of the plugin.
The main features are:
- multiple regular expressions can be given
- expressions can be categorized as warning or critical
- it can handle any logfile rotation strategy
- hook scripts (either external scripts or a piece of perl-code in the configuration file) are possible, taking actions when a line matches a pattern. (for example, whenever a critical pattern is found, a nsca message is sent to the nagios server)
- it is written in Perl, but also distributed as a Windows .exe

Reviews (3)
Very robust code. We were not able to make it reliably work with Nagios notifications or I would rate it higher.

Liked it though and we're using it with cron and a wrapper script to send alerts.
Wow, this plugin clearly has a huge amount of development effort behind it. Very polished and "Just works". Many thanks for the tremendous effort and saving thousands of us uncounted hours.
bybox2, August 13, 2010
3 of 3 people found this review helpful
This plugin is very adaptable across platforms and the configuration file is written with perl which makes it very strong to customize anything you need. Best logfile plugin I've tried by far.