View Single Post
Old 11th February 2011, 04:43
mpl mpl is offline
HowtoForge Supporter
Join Date: Dec 2010
Posts: 30
Thanks: 4
Thanked 1 Time in 1 Post

Here you go Falco...
webserver:/# crontab -l
* * * * * /usr/local/ispconfig/server/ > /dev/null 2>> /var/log/ispconfig/cron.log
30 00 * * * /usr/local/ispconfig/server/ > /dev/null 2>> /var/log/ispconfig/cron.log

webserver:/# monit status
The monit daemon 4.10.1 uptime: 6m

Process 'clamavd'
status running
monitoring status monitored
pid 29329
parent pid 1
uptime 10h 15m
childrens 0
memory kilobytes 96088
memory kilobytes total 96088
memory percent 37.4%
memory percent total 37.4%
cpu percent 0.0%
cpu percent total 0.0%
unix socket response time 0.002s to /var/run/clamav/clamd.ctl [DEFAULT]
data collected Thu Feb 10 21:52:54 2011

System ''
status running
monitoring status monitored
load average [0.01] [0.04] [0.02]
cpu 0.2%us 0.1%sy 0.2%wa
memory usage 179852 kB [70.1%]
data collected Thu Feb 10 21:52:54 2011

BTW...Thanks for suggesting Monit! Wonderful tool and just what I needed. I had actually started a script to restart clamav each day until I figured out why it was dying but Monit is a much better solution ;-) Many thanks Falco

Oh and believe I figured out the "Warning: Truncating oversized referrer field" from earlier to be an error in Mysql caused by amavis-new and clamav both being dead. I think I will set up monit for amavis as well so I can hopefully catch when these two are actually choking!
Reply With Quote