The regular expressions are assigned to queues which have an alert interval and a list of mail recipients.
Queues can be set to send a notification as soon as there is a log line assigned to it, or to send periodic reports.
Additionally, uninteresting fields in the log lines (such as PID numbers) can be masked with the standard regular expression grouping operators ( ). This allows cleaner and more readable reports. All reports are separated by hostname and all messages are condensed when possible.
The program reads a configuration file and then forks a deamon for monitoring the specified log files.
Please read the example tenshi.conf and tenshi.8 man page for usage instructions.
Tenshi was formerly known as wasabi. The name was changed to tenshi after we were informed that wasabi is a registered trademark relating to another piece of software.
Requirements:
- This program uses 'tail' which should be included in your distribution. It also requires Net::SMTP module for mailing reports which should be included in your perl installation, otherwise you can grab it at CPAN or using the CPAN shell (perl -e shell -MCPAN).
What is new in this release:
- This version adds a threshold feature for discarding logs with a count below the specified value.
- It fixes broken queue flushing on exit.
- It delays daemonization to catch startup errors.
- It makes sure the terminal colour is always reset.
- It has improved cleanup on exit.
What is new in version 0.12:
- A new RPM spec was added for openSUSE.
- A bug that causes CPU spinning and processing interruption when using FIFO mode was fixed.
Comments not found