Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory

isy

Reviews(1)
byisy, February 3, 2014
Using this plugin more than a year - and it works very fine, thanks :-)

I was missing the clamd version checking - always had to wait for syslog-mess like "freshclam[2358]: DON'T PANIC! Read http://www.clamav.net/support/faq"

My Version:

diff /usr/lib/nagios/plugins/check_clamav ./check_clamav_1.2

28,31d27
hec_val = 0; # Default - override with --checkversion arg
109c104
$msg = "ClamAV " . $status_print . ": daily.cvd " . $sig_local .
114c109
$msg = "ClamAV OK: daily.cvd " . $sig_local . " (" . $sig_date .
123,124c118
\$chec_val,
172,174d162
&print_debug("checking clamd program version");

199,200d187
9,190
($chec_val != 0) {
ly running clamd version of this
clamdresults[0]);
_version=$clamdversion[1];
=$txtresults[0];
clamd program version local = $clamd_local_version - Latest = $clamd_latest_version");
ed clamd matches latest from clamav.net");
_version OK)";
&print_debug("Installed clamd is behind clamav.net");
CAL status
tus_print = "CRITICAL";
RITICAL: local ver = $clamd_local_version - Latest = $clamd_latest_version)"