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>"
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.