Hi all, Just configured MRTG for qmail using qmailmrtg7 from http://www.inter7.com/qmailmrtg7/INSTALL ,the graphs for spam,smtp and pop3 connections are generated but all are empty with no statistics,i've put all the logs in the /var/log/qmail & smtpd and pop3d as sub-directories, how do I generate graphs for spam.? i am using qmail-1.03 with scanner and clamav installed:
this is my qmail.mrtg.cfg file: WorkDir: /var/www/html/mrtg/ ############################################################# Title[msg]: Messages - FQDN MaxBytes[msg]: 10000 AbsMax[msg]: 20000 Options[msg]: gauge Target[msg]: `/usr/local/bin/qmailmrtg7 m /var/log/qmail` PageTop[msg]: <B>FQDN Messages</B><br> ShortLegend[msg]: msg YLegend[msg]: msg/hour Legend1[msg]: Total Msg LegendI[msg]: Deliveries: LegendO[msg]: Attempts: WithPeak[msg]: ymwd XSize[msg]: 350 YSize[msg]: 150 #------------------------------------------------------------------- Title[queue-size]: Queue Size - FQDN MaxBytes[queue-size]: 10000 AbsMax[queue-size]: 100000 Options[queue-size]: gauge Target[queue-size]: `/usr/local/bin/qmailmrtg7 q /var/qmail/queue` PageTop[queue-size]: <B>FQDN Queue Size</B><br> ShortLegend[queue-size]: Msg YLegend[queue-size]: msg total Legend1[queue-size]: msg LegendI[queue-size]: msg LegendO[queue-size]: unprocessed msg: WithPeak[queue-size]: ymwd XSize[queue-size]: 350 YSize[queue-size]: 150 #------------------------------------------------------------------- Title[clamd]: clamd - FQDN MaxBytes[clamd]: 10000 AbsMax[clamd]: 100000 Options[clamd]: gauge Target[clamd]: `/usr/local/bin/qmailmrtg7 C /var/log/clamd` PageTop[clamd]: <B>FQDN ClamAV</B><br> ShortLegend[clamd]: Msg YLegend[clamd]: viri/hour Legend1[clamd]: a LegendI[clamd]: found LegendO[clamd]: errors: WithPeak[clamd]: ymwd XSize[clamd]: 350 YSize[clamd]: 150 #------------------------------------------------------------------- Title[spamd]: spamd - FQDN MaxBytes[spamd]: 10000 AbsMax[spamd]: 100000 Options[spamd]: gauge Target[spamd]: `/usr/local/bin/qmailmrtg7 S /var/log/qmail/spamd` PageTop[spamd]: <B>FQDN SpamAssassin</B><br> ShortLegend[spamd]: Msg YLegend[spamd]: spam/hour Legend1[spamd]: a LegendI[spamd]: clean LegendO[spamd]: spam: WithPeak[spamd]: ymwd XSize[spamd]: 350 YSize[spamd]: 150 #------------------------------------------------------------------- Title[concurrency]: Local/Remote Concurrency - FQDN MaxBytes[concurrency]: 500 AbsMax[concurrency]: 10000 Options[concurrency]: gauge Target[concurrency]: `/usr/local/bin/qmailmrtg7 c /var/log/qmail/pop3d` PageTop[concurrency]: <B>FQDN - Local/Remote Concurrency</B><br> ShortLegend[concurrency]: concurrency YLegend[concurrency]: max concurrency Legend1[concurrency]: concurrency LegendI[concurrency]: local LegendO[concurrency]: remote WithPeak[concurrency]: ymwd XSize[concurrency]: 350 YSize[concurrency]: 150
#------------------------------------------------------------------- Title[smtp]: SMTP Concurrency - FQDN MaxBytes[smtp]: 100 AbsMax[smtp]: 500 Options[smtp]: gauge Target[smtp]: `/usr/local/bin/qmailmrtg7 t /var/log/qmail/smtpd` PageTop[smtp]: <B>FQDN - SMTP Concurrency</B><BR> ShortLegend[smtp]: SMTP YLegend[smtp]: max SMTP Legend1[smtp]: SMTP LegendI[smtp]: SMTP LegendO[smtp]: SMTP WithPeak[smtp]: ymwd XSize[smtp]: 350 YSize[smtp]: 150 #------------------------------------------------------------------- Title[smtpad]: SMTP Totals - FQDN MaxBytes[smtpad]: 1000 AbsMax[smtpad]: 100000 Options[smtpad]: gauge Target[smtpad]: `/usr/local/bin/qmailmrtg7 a /var/log/qmail/smtpd` PageTop[smtpad]: <B>FQDN - SMTP Totals</B><BR> ShortLegend[smtpad]: SMTP YLegend[smtpad]: SMTP/hour Legend1[smtpad]: SMTP LegendI[smtpad]: Allow LegendO[smtpad]: Deny WithPeak[smtpad]: ymwd XSize[smtpad]: 350 YSize[smtpad]: 150 #------------------------------------------------------------------- Title[pop3]: POP3 Concurrency - FQDN MaxBytes[pop3]: 100 AbsMax[pop3]: 500 Options[pop3]: gauge Target[pop3]: `/usr/local/bin/qmailmrtg7 t /var/log/qmail/pop3d` PageTop[pop3]: <B>FQDN POP3 Concurrency</B><BR> ShortLegend[pop3]: POP3 YLegend[pop3]: max POP3 Legend1[pop3]: POP3 LegendI[pop3]: POP3 LegendO[pop3]: POP3 WithPeak[pop3]: ymwd XSize[pop3]: 350 YSize[pop3]: 150 Please let me know where I go wrong... Thanx,
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com