Logcheck

From OnnoCenterWiki
Revision as of 12:24, 9 July 2021 by Onnowpurbo (talk | contribs) (Konfigurasi)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Instalasi

apt install logcheck

Konfigurasi

Edit file

/etc/logcheck/logcheck.conf


Ubah

SENDMAILTO="email@addres_anda"


Edit

/etc/logcheck/logcheck.logfiles

Isi

/var/log/syslog
/var/log/auth.log

Run

sudo -u logcheck logcheck