UPDATE: Corrected sample logcheck files; moved "Download failed" from ignore to (new) violations.ignore file and removed same from violations. Duh.

/etc/logcheck/ignore.d.server/approx
------------------------------------
# approx; run-time
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ approx: .*/Release(\.gpg)?$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ approx: .*\.bz2$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ approx: .*\.deb$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ approx: http://
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ approx: Connection from

# approx; start-time
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ approx: Version: approx [0-9.]+
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ approx: Config file:
/etc/approx/approx.conf
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ approx: Interface: any
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ approx: Port: 9999
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ approx: Cache: /var/cache/approx
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ approx: Interval: 12 hours
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ approx: Max wait: 10
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ approx: Debug: false


/etc/logcheck/violations.d/approx
---------------------------------
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ approx: no remote repository found for
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ approx: Unexpected status code


/etc/logcheck/violations.ignore.d/approx
---------------------------------
# This one looks like it should be bad; but it seems that it happens for
# stuff that apt asks for that isn't there, like:
#
http://ubuntu.media.mit.edu/ubuntu/dists/gutsy-security/multiverse/i18n/Translation-en_US.bz2
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ approx: Download failed



Thanks,
JP




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to