On 5/23/05, Rene <[EMAIL PROTECTED]> wrote: > Jason S schrieb: > > >On 5/23/05, Rene <[EMAIL PROTECTED]> wrote: > > > > > >>hi list, > >> > >>I try to implement the qmailmrtg7 from inter7 into the toaster > >>(http://www.inter7.com/qmailmrtg7) > >>But i get no output from clamd and spamassassin. > >>i updated the path ind cfg but maybe it didn't work because they are > >>running with multilog ? > >> > >>Has anyone this working ? > >> > >>regars rene > >> > >> > >> > > > >i have it working with multilog. do you get any errors when you run > >mrtg from the command line? do the graphs generate and they are just > >empty, or do you get no graphs at all? > > > > > hi, > > tnx for replay. > > smtp,pop3,cpu,network and so on are fine but clamd,spamd,dns don't work. > > here is my config and the errros : > > errors : > ]mrtg /usr/local/httpd/htdocs/qmailmrtg/qmail.mrtg.cfg > Rateup ERROR: /usr/bin/rateup found clamd's log file was corrupt > or not in sorted order: > time: 1116859311.Rateup WARNING: /usr/bin/rateup could not read the > primary log file for clamd > Rateup ERROR: /usr/bin/rateup found clamd's log file was corrupt > or not in sorted order: > time: 1116859311.Rateup WARNING: /usr/bin/rateup The backup log file for > clamd was invalid as well > WARNING: rateup died from Signal 0 > with Exit Value 1 when doing router 'clamd' > Signal was 0, Returncode was 1 > Rateup ERROR: /usr/bin/rateup found spamd's log file was corrupt > or not in sorted order: > time: 1116859311.Rateup WARNING: /usr/bin/rateup could not read the > primary log file for spamd > Rateup ERROR: /usr/bin/rateup found spamd's log file was corrupt > or not in sorted order: > time: 1116859311.Rateup WARNING: /usr/bin/rateup The backup log file for > spamd was invalid as well > WARNING: rateup died from Signal 0 > with Exit Value 1 when doing router 'spamd' > Signal was 0, Returncode was 1 > Rateup ERROR: /usr/bin/rateup found dnscache's log file was corrupt > or not in sorted order: > time: 1116859311.Rateup WARNING: /usr/bin/rateup could not read the > primary log file for dnscache > Rateup ERROR: /usr/bin/rateup found dnscache's log file was corrupt > or not in sorted order: > time: 1116859311.Rateup WARNING: /usr/bin/rateup The backup log file for > dnscache was invalid as well > WARNING: rateup died from Signal 0 > with Exit Value 1 when doing router 'dnscache' > Signal was 0, Returncode was 1 > > ---------------------- > > config : > WorkDir: /usr/local/httpd/htdocs/qmailmrtg/ > ############################################################# > > Title[msg]: Messages - FQDN > MaxBytes[msg]: 10000 > AbsMax[msg]: 20000 > Options[msg]: gauge > Target[msg]: `/usr/local/bin/qmailmrtg7 m /var/log/mailer/send` > 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/mailer/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/mailer/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/mailer/send` > 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[messstatus]: Message Status - FQDN > MaxBytes[messstatus]: 10000 > AbsMax[messstatus]: 100000 > Options[messstatus]: gauge > Target[messstatus]: `/usr/local/bin/qmailmrtg7 s /var/log/mailer/send` > PageTop[messstatus]: <B>FQDN - Message Status</B><BR> > ShortLegend[messstatus]: msg > YLegend[messstatus]: msg/hour > Legend1[messstatus]: msg > LegendI[messstatus]: success > LegendO[messstatus]: failures > WithPeak[messstatus]: ymwd > XSize[messstatus]: 350 > YSize[messstatus]: 150 > > #------------------------------------------------------------------- > > Title[bits]: Bits Transfered - FQDN > MaxBytes[bits]: 1540000 > AbsMax[bits]: 100000000 > Options[bits]: gauge > Target[bits]: `/usr/local/bin/qmailmrtg7 b /var/log/mailer/send` > PageTop[bits]: <B>FQDN - Bits Transfered</B><br> > ShortLegend[bits]: bits > YLegend[bits]: bits/sec > Legend1[bits]: bits > LegendI[bits]: bits > LegendO[bits]: bits > WithPeak[bits]: ymwd > XSize[bits]: 350 > YSize[bits]: 150 > > #------------------------------------------------------------------- > > Title[smtp]: SMTP Concurrency - FQDN > MaxBytes[smtp]: 100 > AbsMax[smtp]: 500 > Options[smtp]: gauge > Target[smtp]: `/usr/local/bin/qmailmrtg7 t /var/log/mailer/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/mailer/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/mailer/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 > > #------------------------------------------------------------------- > > Title[pop3ad]: POP3 Totals - FQDN > MaxBytes[pop3ad]: 1000 > AbsMax[pop3ad]: 100000 > Options[pop3ad]: gauge > Target[pop3ad]: `/usr/local/bin/qmailmrtg7 a /var/log/mailer/pop3d` > PageTop[pop3ad]: <B>FQDN - POP3 Totals</B><BR> > ShortLegend[pop3ad]: POP3 > YLegend[pop3ad]: POP3/hour > Legend1[pop3ad]: POP3 > LegendI[pop3ad]: Allow > LegendO[pop3ad]: Deny > WithPeak[pop3ad]: ymwd > XSize[pop3ad]: 350 > YSize[pop3ad]: 150 > > #------------------------------------------------------------------- > Title[cpu0]: CPU 0 Usage - FQDN > MaxBytes[cpu0]: 100 > AbsMax[cpu0]: 1000 > Options[cpu0]: bits > Target[cpu0]: `/usr/bin/awk '/cpu0 /{print $2+$3; print $2+$3+$4; print > "quite some time"; print "home"}'</proc/stat` > PageTop[cpu0]: CPU 0 Usage - FQDN > ShortLegend[cpu0]: %x100 > Ylegend[cpu0]: %x100 > LegendI[cpu0]: user: > LegendO[cpu0]: total: > Legend1[cpu0]: Time spent in user mode > Legend2[cpu0]: Time spent in user mode + time spent in system mode > Legend3[cpu0]: Maximum occurance of time spent in user mode > Legend4[cpu0]: Maximum occurance of (time spent in user mode + time > spent in system mode) > XSize[cpu0]: 350 > YSize[cpu0]: 150 > > > #------------------------------------------------------------------- > Title[eth0]: eth0 bits - FQDN > Options[eth0]: bits > Target[eth0]: `grep eth0 /proc/net/dev | sed 's/eth0://' | awk '{print > $1; print $9; print ""; print ""}'` > PageTop[eth0]: eth0 bits - FQDN > MaxBytes[eth0]: 100000000 > Ylegend[eth0]: bits > ShortLegend[eth0]: bits > XSize[eth0]: 350 > YSize[eth0]: 150 > Legend1[eth0]: bits > LegendI[eth0]: input > LegendO[eth0]: output > WithPeak[eth0]: ymwd > > #------------------------------------------------------------------- > Title[eth0p]: eth0 packets - FQDN > Options[eth0p]: bits > Target[eth0p]: `grep eth0 /proc/net/dev | sed 's/eth0://' | awk '{print > $2; print $10; print ""; print ""}'` > PageTop[eth0p]: eth0 packets - FQDN > MaxBytes[eth0p]: 100000000 > Ylegend[eth0p]: bits > ShortLegend[eth0p]: bits > XSize[eth0p]: 350 > YSize[eth0p]: 150 > Legend1[eth0p]: bits > LegendI[eth0p]: input > LegendO[eth0p]: output > WithPeak[eth0p]: ymwd > > #------------------------------------------------------------------- > Title[mem]: memory used/free - FQDN > Target[mem]: `free | /usr/bin/awk '/Mem: /{print $3*1000; print $4*1000; > print ""; print ""}'` > PageTop[mem]: memory used/free - FQDN > Options[mem]: gauge > MaxBytes[mem]: 50000000000 > Ylegend[mem]: mem > ShortLegend[mem]: mem > XSize[mem]: 350 > YSize[mem]: 150 > Legend1[mem]: mem > LegendI[mem]: used > LegendO[mem]: free > WithPeak[mem]: ymwd > > #------------------------------------------------------------------- > Title[swap]: memory swap - FQDN > Target[swap]: `free | /usr/bin/awk '/Swap: /{print $3; print $3; print > ""; print ""}'` > PageTop[swap]: memory swap - FQDN > Options[swap]: gauge > MaxBytes[swap]: 500000 > Ylegend[swap]: mem > ShortLegend[swap]: mem > XSize[swap]: 350 > YSize[swap]: 150 > Legend1[swap]: mem > LegendI[swap]: swap > LegendO[swap]: swap > WithPeak[swap]: ymwd > > #------------------------------------------------------------------- > Title[load]: system load - FQDN > Target[load]: `uptime | sed 's/,//g' | awk '{print $10*100; print > $11*100 ; print ""}'` > PageTop[load]: system load - FQDN > Options[load]: gauge > MaxBytes[load]: 100000 > Ylegend[load]: load x100 > ShortLegend[load]: load > XSize[load]: 350 > YSize[load]: 150 > Legend1[load]: load > LegendI[load]: 5min > LegendO[load]: 15min > WithPeak[load]: ymwd > > #------------------------------------------------------------------- > Title[pop3s]: POP3 SSL Concurrency - FQDN > MaxBytes[pop3s]: 100 > AbsMax[pop3s]: 500 > Options[pop3s]: gauge > Target[pop3s]: `/usr/local/bin/qmailmrtg7 t /var/log/mailer/pop3ds` > PageTop[pop3s]: <B>FQDN POP3 Concurrency</B><BR> > ShortLegend[pop3s]: POP3 > YLegend[pop3s]: max POP3 > Legend1[pop3s]: POP3 > LegendI[pop3s]: POP3 > LegendO[pop3s]: POP3 > WithPeak[pop3s]: ymwd > XSize[pop3s]: 350 > YSize[pop3s]: 150 > > #------------------------------------------------------------------- > > Title[pop3sad]: POP3 SSL Totals - FQDN > MaxBytes[pop3sad]: 1000 > AbsMax[pop3sad]: 100000 > Options[pop3sad]: gauge > Target[pop3sad]: `/usr/local/bin/qmailmrtg7 a /var/log/mailer/pop3ds` > PageTop[pop3sad]: <B>FQDN - POP3 Totals</B><BR> > ShortLegend[pop3sad]: POP3 > YLegend[pop3sad]: POP3/hour > Legend1[pop3sad]: POP3 > LegendI[pop3sad]: Allow > LegendO[pop3sad]: Deny > WithPeak[pop3sad]: ymwd > XSize[pop3sad]: 350 > YSize[pop3sad]: 150 > > #------------------------------------------------------------------- > > Title[dnscache]: Dnscache Queries - FQDN > MaxBytes[dnscache]: 1000 > AbsMax[dnscache]: 100000 > Options[dnscache]: gauge > Target[dnscache]: `/usr/local/bin/qmailmrtg7 m /etc/dnscache/log/main` > PageTop[dnscache]: <B>FQDN - Dnscache Queries</B><BR> > ShortLegend[dnscache]: > YLegend[dnscache]: Queries/hour > Legend1[dnscache]: Queries > LegendI[dnscache]: Cached > LegendO[dnscache]: Queries > WithPeak[dnscache]: ymwd > XSize[dnscache]: 350 > YSize[dnscache]: 150 > > regards rene > > > >
did you try deleting all the spamd and clamd files from underneath the /usr/local/httpd/htdocs/qmailmrtg/ directory and running mrtg from command line again? don't delete the clamd.html and spamd.html -- Jason [EMAIL PROTECTED]