
Il faudra ajuster logcheck.ignore et logcheck.logfiles en fonction des serveurs/services, et des rresultatsinitiaux. Je fais la mise a jour sur egon, komaz et rouge pour l'instant, demain on verra ce que ca donne ... (On peut aussi regarder logcheck -o mais ca fera des logchecks incomplets dans les mails ...) darcs-hash:20080731192522-ddb99-e93bdf6bee498033207ba1aa16df26a592ee046b.gz
26 lines
450 B
Python
26 lines
450 B
Python
# -*- coding: utf-8; mode: python -*-
|
|
|
|
info["owner"] = "root"
|
|
info["group"] = "logcheck"
|
|
info["perms"] = 0644
|
|
|
|
header("Fichiers surveilles par logcheck")
|
|
|
|
@/var/log/auth.log
|
|
@/var/log/messages
|
|
@/var/log/kern.log
|
|
@/var/log/syslog
|
|
@/var/log/user.log
|
|
|
|
if has("firewall"):
|
|
@/var/log/firewall/iptables.err
|
|
|
|
if has("mailman"):
|
|
@/var/log/mailman/error
|
|
|
|
if has("news"):
|
|
@/var/log/news/news.crit
|
|
|
|
if has("postfix"):
|
|
@/var/log/mail.log
|
|
@/var/log/mail.err
|