Logwatch
Perl製のソフトウェアで、PAMやApacheのログ、SSHd関連のログを監視してシステム管理者宛にメールを送信する。
How to install and configure Logwatch - Ubuntu Server documentation
即時でレポートを送信する場合
code:sh
sudo logwatch --output mail --range yesterday
今日これまでの動きを確認したい場合
code:sh
sudo logwatch --output mail --range today
デフォルト設定は /usr/share/logwatch/default.conf/logwatch.conf にある
service = allで出てくるやつは
/usr/share/logwatch/scripts/services/* の中身
超いっぱいある