On Sun, Jan 4, 2009 at 2:33 PM, Gary L Burnore <gburn...@databasix.com> wrote: > Andrew McGlashan wrote >>Tarak Ranjan wrote: >>> i m trying to configured MRTG for clamd but it;s giving me 0 out put > >> That is probably because MRTG is a "Multi-Router Traffic Grapher" and all >> your clamav traffic is local, ie not routing anywhere. > > > Sorry Andrew, but MRTG really does do more than just monitor routers. I was > searching for the same solution as Tarak as I just managed to get > Spamassasin to graph. Spamassasin attaches via a socket or a local tcp > connection. > > One can also use mrtg to monitor things such as CPU, Memory and the like. > > See http://www.inter7.com/qmailmrtg/ for an example. Within that example > is a listing for Clamav so SOMEONE's done it. > > Once I dig through it all and figure it out, I'll post it here. > > For now, the answer to his 0/0 question is simple: It's looking for a line > starting with @nnnnnnn from multilog and clamd.log isn't in multilog format. > > > > > Gary L. Burnore > gburn...@databasix.com
Second this. MRTG is something of a misnomer. It's actually more accurate to say it's an SNMP grapher, as it polls devices with snmp enabled, and graphs the results. If you can get an snmp counter to increment, you can graph it. Kurt _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml