Logcheck

From OnnoWiki
Revision as of 19:24, 9 July 2021 by Onnowpurbo (talk | contribs) (→‎Konfigurasi)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump 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