LogDog 2.00-RC5 review

Download
by rbytes.net on

LogDog is a tool that monitors messages passing through syslogd and takes action based on key words and phrases. LogDog has a conf

License: GPL (GNU General Public License)
File size: 14K
Developer: Brandon Zehm
0 stars award from rbytes.net

LogDog is a tool that monitors messages passing through syslogd and takes action based on key words and phrases.

LogDog has a configuration file which allows you to specify a list of key words or phrases to alert on, and a list of commands that can be run when those words are encountered.

Here are some key features of "LogDog":
Monitors syslogd messages for key words and phrases and runs system commands based on content.
Logs all activity to a file.
HUP signal is intercepted correctly and causes Logdog to reload its configuration and refresh all filehandles.
Reads data from syslogd via a FIFO for efficiency and low latency alerts.
Script returns error status to the system when an error occurs.
Verbose and descriptive error messages if something goes wrong.
Multiple debugging levels.

Installation:

make install

What's New in This Release:
Updated the pringmsg() function. It now logs and syslogs messages in a more syslog-like format.
Made it so it doesn't drop permissions until after it opens/writes its PID file. This means that if you *are* dropping permissions a HUP signal will likely cause logdog to exit abruptly if your PID file is not writable by Logdog.

LogDog 2.00-RC5 keywords