tenshi (formerly wasabi) is a log monitoring program designed to watch a log file for lines matching user defined regular expressions and report on the matches. The regular expressions are assigned to queues that 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 them, 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.
Release Notes: The code for invoking tail was cleaned up, the handling of "repeat" messages was improved, and the Gentoo init script has been updated.
Release Notes: This release 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.
Release Notes: A new RPM spec was added for openSUSE. A bug that causes CPU spinning and processing interruption when using FIFO mode was fixed.
Release Notes: The process name is now changed to tenshi when in daemon mode. Timezone is no longer cached, preventing incorrect timestamps on DST change. Leftmost queue escalation is now allowed. A resolve option was added.
Release Notes: The option includedir now skips dotfiles. The PID file is now created in debug, profile, and foreground modes. An incorrect UID check not handling the root user has been fixed. Buggy time_to_die, buggy tail_multiple option parsing, empty report sending if the filter program returns no output, and a bug regarding unmatched subpatterns have been fixed. This release dies before the pipe if tail_file is not readable, which prevents an fd leak. IO::Select has been replaced with IO::BufferedSelect, which fixes parsing delay of buffered lines.