Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pdostal/9808430 to your computer and use it in GitHub Desktop.
Save pdostal/9808430 to your computer and use it in GitHub Desktop.
LogWatch
LogDir = /var/log
#LogFile = messages
TmpDir = /var/cache/logwatch
#HostLimit = Yes
Output = mail
# file stdout
Format = text
# html
#Encode = base64
Encode = none
MailTo = hom@pdostal.cz
MailFrom = logwatch@hom.pdostal.cz
#Filename = /tmp/logwatch
mailer = "/usr/sbin/sendmail -t"
Archives = Yes
# All Yesterday Today
Range = between -7 days and -1 days
#Low=0 Med=5 High=10
Detail = Low
#Service = All
Service = zz-network
Service = iptables
Service = zz-sys
Service = pam_unix
Service = postfix
Service = dovecot
Service = dpkg
Service = fail2ban
Service = sshd
Service = http
#Service = "-eximstats"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment