Build precise queries to find exactly what you need
Press ESC to close
@isy
Member Since: February 4, 2014
Favorites0
Views
Projects0
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)"
Reviewed 12 years ago