logwatchをインストール。1日1回メールでログを送ってくれるらしい。
$ yum install logwatch
どんな風に出力されるのか確認
$ sudo /usr/sbin/logwatch --output stdout
設定ファイル/etc/logwatch/conf/logwatch.conf
に自分のメールアドレスを設定。
MailTo = hoge@example.com
More than 5 years have passed since last update.
logwatchをインストール。1日1回メールでログを送ってくれるらしい。
$ yum install logwatch
どんな風に出力されるのか確認
$ sudo /usr/sbin/logwatch --output stdout
設定ファイル/etc/logwatch/conf/logwatch.conf
に自分のメールアドレスを設定。
MailTo = hoge@example.com
Register as a new user and use Qiita more conveniently