Tail::Stat::Plugin::clamd - Statistics collector for ClamAV clamd
tstatd -o type clamd clamd.log
Plugin search clamd logs for records of two types:
clean
clamd: /var/spool/exim/scan/1PLMRr-000MyJ-Kg/1PLMRr-000MyJ-Kg.eml: OK
malware
clamd: /var/spool/exim/scan/1PLRje-0008yP-U3/1PLRje-0008yP-U3.eml: Exploit.HTML.IFrame-8 FOUND
type
Turn on collecting per-malware statistics.
clean_messages
Total number of messages identified as clean.
malware_messages
Total number of messages identified as malware.
last_clean_messages
Total number of last messages identified as clean.
last_malware_messages
Total number of last messages identified as malware.
last_clean_rate
Total rate of last messages identified as clean.
last_malware_rate
Total rate of last messages identified as malware.
Oleg A. Mamontov, <oleg@mamontov.net>
<oleg@mamontov.net>
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Tail::Stat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tail::Stat
CPAN shell
perl -MCPAN -e shell install Tail::Stat
For more information on module installation, please visit the detailed CPAN module installation guide.