|
Packit |
57988d |
#########################################################################
|
|
Packit |
57988d |
# clam-update script for Logwatch
|
|
Packit |
57988d |
# Analyzes the Clam Anti-Virus update log
|
|
Packit |
57988d |
#
|
|
Packit |
57988d |
# Version: 1.0.0
|
|
Packit |
57988d |
# Initial release
|
|
Packit |
57988d |
# Version: 1.0.1
|
|
Packit |
57988d |
# Minor documentation update
|
|
Packit |
57988d |
#
|
|
Packit |
57988d |
# Written by: Lars Skjærlund <lars@skjaerlund.dk>
|
|
Packit |
57988d |
#########################################################################
|
|
Packit |
57988d |
|
|
Packit |
57988d |
#########################################################################
|
|
Packit |
57988d |
# This script is subject to the same copyright as Logwatch itself
|
|
Packit |
57988d |
#########################################################################
|
|
Packit |
57988d |
|
|
Packit |
57988d |
#########################################################################
|
|
Packit |
57988d |
# Files - all shown with default paths:
|
|
Packit |
57988d |
#
|
|
Packit |
57988d |
# /usr/share/logwatch/default.conf/logfiles/clam-update.conf (this file)
|
|
Packit |
57988d |
# /usr/share/logwatch/default.conf/services/clam-update.conf
|
|
Packit |
57988d |
# /usr/share/logwatch/scripts/services/clam-update
|
|
Packit |
57988d |
#
|
|
Packit |
57988d |
# ... and of course
|
|
Packit |
57988d |
#
|
|
Packit |
57988d |
# /var/log/clam-update
|
|
Packit |
57988d |
#########################################################################
|
|
Packit |
57988d |
|
|
Packit |
57988d |
#########################################################################
|
|
Packit |
57988d |
# Important note:
|
|
Packit |
57988d |
#
|
|
Packit |
57988d |
# Under normal operation - ie. a detail level of 'lo' (0), no output will
|
|
Packit |
57988d |
# be produced if no updates have taken place. However, if no update
|
|
Packit |
57988d |
# attempt has been done, an alert will be output to inform you about this
|
|
Packit |
57988d |
# (which probably means that freshclam isn't running).
|
|
Packit |
57988d |
#
|
|
Packit |
57988d |
# If you have stopped using ClamAV and would like to get rid of the
|
|
Packit |
57988d |
# alert, you should delete the logfile. If there's no logfile, no alerts
|
|
Packit |
57988d |
# will be output - but if Logwatch finds a logfile and no update attempts
|
|
Packit |
57988d |
# have been made for whatever timeperiod Logwatch is analyzing, an alert
|
|
Packit |
57988d |
# will be output.
|
|
Packit |
57988d |
#########################################################################
|
|
Packit |
57988d |
|
|
Packit |
57988d |
# What actual file? Defaults to LogPath if not absolute path....
|
|
Packit |
57988d |
LogFile = clam-update
|
|
Packit |
57988d |
LogFile = freshclam.log
|
|
Packit |
57988d |
LogFile = clamav/freshclam.log
|
|
Packit |
57988d |
|
|
Packit |
57988d |
# If the archives are searched, here is one or more line
|
|
Packit |
57988d |
# (optionally containing wildcards) that tell where they are...
|
|
Packit |
57988d |
Archive = clam-update.*
|
|
Packit |
57988d |
Archive = freshclam.log.*
|
|
Packit |
57988d |
Archive = clamav/freshclam.log.*
|
|
Packit |
57988d |
Archive = archiv/clam-update.*
|
|
Packit |
57988d |
Archive = archiv/freshclam.log.*
|
|
Packit |
57988d |
Archive = clam-update-*
|
|
Packit |
57988d |
Archive = freshclam.log-*
|
|
Packit |
57988d |
Archive = clamav/freshclam.log-*
|
|
Packit |
57988d |
Archive = archiv/clam-update-*
|
|
Packit |
57988d |
Archive = archiv/freshclam.log-*
|
|
Packit |
57988d |
|
|
Packit |
57988d |
# vi: shiftwidth=3 tabstop=3 et
|