On 1 Jun 2009, at 11:09, Jim Smart wrote:
[*] now, to return to an earlier point -- although this is enough to get some pretty charts, i think it's not perfect because i don't really know what the 'scale' of this chart is as such, ie. i don't know how many messages per hour/minute this is showing exactly? but it's enough to get a visual indication of what's going on inside the mailscanner, so having got that far i wasn't too fussed about exact numbers. (but if you want to tweak the scale of these figures, you'd want to apply a multiplication/division in the rpn fields for each graphpoint - eg. to multiply by 1000 you'd set the graphpoint's rpn field to contain: 1000,* to half it you'd want to put: 0.5,* )
oh - on reflection, i see it may (also) be necessary to change the '120' cycletime values i used in the my snmpd.conf to get better numbers.
# qmailscanner statslogmatch qsClean /var/spool/qscan/qmail-queue.log 120 p_s: finished scanlogmatch qsSpam /var/spool/qscan/qmail-queue.log 120 SA: yup, this smells like SPAM logmatch qsVirus /var/spool/qscan/qmail-queue.log 120 clamdscan: there be a virus
from man snmpd.conf
logmatch NAME PATH CYCLETIME REGEX
i'm not sure why i have 120 there - maybe i followed someone else's example and didn't give it enough thought at the time.
...like i said, not quite a perfect solution - but it's certainly enough to get some visual charts up to look at.
hth, --/Jim
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
