Ajout logcheck
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
This commit is contained in:
parent
3bf6bb5fb6
commit
5b613c2361
9 changed files with 272 additions and 0 deletions
26
Python/etc/logcheck/logcheck.logfiles
Normal file
26
Python/etc/logcheck/logcheck.logfiles
Normal file
|
@ -0,0 +1,26 @@
|
|||
# -*- 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
|
Loading…
Add table
Add a link
Reference in a new issue