tenshi

log monitoring and reporting tool

Install

All systems
curl cmd.cat/tenshi.sh
Debian Debian
apt-get install tenshi
Ubuntu
apt-get install tenshi
Arch Arch Linux
pacman -S tenshi
image/svg+xml Kali Linux
apt-get install tenshi
Windows (WSL2)
sudo apt-get update sudo apt-get install tenshi
Raspbian
apt-get install tenshi

tenshi

log monitoring and reporting tool

Tenshi is a log monitoring program, designed to watch one or more log files for lines matching user defined regular expressions and report on the matches. 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 daemon for monitoring the specified log files.