Greg McCarthy wrote:
I found a problem on one of our clamav servers - freshclam kept timing
out when updating (My fault - a firewall rule problem) For some reason
this caused the clamav milter to die which is not a huge problem as
sendmail continues to deliver mail.
The error I got was:
Mar 28 15:15:45 pdcsmtp01 sendmail[22826]: l2SDFjIo022826: Milter
(clamav): local socket name /var/run/clamav/clamav-milter.sock unsafe
Now to my question :) Does anyone have a script or know how I can
monitor the clamav milter so if it ever dies again I get an email
alert, or the script can even restart the milter.
Does anyone run checks like this?
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html
Greg,
I use Monit (http://www.tildeslash.com/monit/) not only does it email
you but it can also restart the services, it can also monitor a lot of
other tings on the system.
HTH,
Clifford
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html