Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This plugin checks the clamscan scan summary if any infected files were found.
Current Version
1.0
Last Release Date
2012-10-05
Owner
Georg Schönberger
Website
http://www.thomas-krenn.com/de/wiki/Clamscan_Monitoring_Plugin
Download URL
http://git.thomas-krenn.com/check_clamscan_v1.git
License
GPL
Compatible With
Snapshot of Version 1.0
The plugin checks various scenarios: -the last scan was too long ago -the current scan runs too long (e.g. clamscan hangs on an infected file) -an infected file is listed in the scan summary -the scan summary log could not be parsed correctly -the scan summary log could not be opened by the plugin for parsing (e.g. plugin is not called with the correct log file path) -If clamscan is currently running, the pid of the process is printed -If the scan output could be parsed successfully, the engine version and the performance data of the scan are printed
Requirements The plugin raises an error if it cannot find clamscan with 'which clamscan'.
Required perl modules * use Getopt::Long qw(:config no_ignore_case); * use Proc::ProcessTable; * use File::stat; * use Switch; * use Date::Calc qw(Delta_Days); * use Date::Calc qw(Delta_DHMS); * use Date::Calc qw(Localtime);
You must be logged in to submit a review.
To:
From: