[toaster] using mrtg with the toaster
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
Re: [toaster] using mrtg with the toaster
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? -- Jason [EMAIL PROTECTED]
Re: [toaster] using mrtg with the toaster
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]: 1 AbsMax[msg]: 2 Options[msg]: gauge Target[msg]: `/usr/local/bin/qmailmrtg7 m /var/log/mailer/send` PageTop[msg]: BFQDN Messages/Bbr ShortLegend[msg]: msg YLegend[msg]: msg/hour Legend1[msg]: Total Msgnbsp; LegendI[msg]: Deliveries:nbsp; LegendO[msg]: Attempts:nbsp; WithPeak[msg]: ymwd XSize[msg]: 350 YSize[msg]: 150 #--- Title[queue-size]: Queue Size - FQDN MaxBytes[queue-size]: 1 AbsMax[queue-size]: 10 Options[queue-size]: gauge Target[queue-size]: `/usr/local/bin/qmailmrtg7 q /var/qmail/queue` PageTop[queue-size]: BFQDN Queue Size/Bbr ShortLegend[queue-size]: Msg YLegend[queue-size]: msg total Legend1[queue-size]: msgnbsp; LegendI[queue-size]: msgnbsp; LegendO[queue-size]: unprocessed msg:nbsp; WithPeak[queue-size]: ymwd XSize[queue-size]: 350 YSize[queue-size]: 150 #--- Title[clamd]: clamd - FQDN MaxBytes[clamd]: 1 AbsMax[clamd]: 10 Options[clamd]: gauge Target[clamd]: `/usr/local/bin/qmailmrtg7 C /var/log/mailer/clamd` PageTop[clamd]: BFQDN ClamAV/Bbr ShortLegend[clamd]: Msg YLegend[clamd]: viri/hour Legend1[clamd]: anbsp; LegendI[clamd]: foundnbsp; LegendO[clamd]: errors:nbsp; WithPeak[clamd]: ymwd XSize[clamd]: 350 YSize[clamd]: 150 #--- Title[spamd]: spamd - FQDN MaxBytes[spamd]: 1 AbsMax[spamd]: 10 Options[spamd]: gauge Target[spamd]: `/usr/local/bin/qmailmrtg7 S /var/log/mailer/spamd` PageTop[spamd]: BFQDN SpamAssassin/Bbr ShortLegend[spamd]: Msg YLegend[spamd]: spam/hour Legend1[spamd]: anbsp; LegendI[spamd]: cleannbsp; LegendO[spamd]: spam:nbsp; WithPeak[spamd]: ymwd XSize[spamd]: 350 YSize[spamd]: 150 #--- Title[concurrency]: Local/Remote Concurrency - FQDN MaxBytes[concurrency]: 500 AbsMax[concurrency]: 1 Options[concurrency]: gauge Target[concurrency]: `/usr/local/bin/qmailmrtg7 c /var/log/mailer/send` PageTop[concurrency]: BFQDN - Local/Remote Concurrency/Bbr ShortLegend[concurrency]: concurrency YLegend[concurrency]: max concurrency Legend1[concurrency]: concurrencynbsp; LegendI[concurrency]: localnbsp; LegendO[concurrency]: remotenbsp; WithPeak[concurrency]: ymwd XSize[concurrency]: 350 YSize[concurrency]: 150 #--- Title[messstatus]: Message Status - FQDN MaxBytes[messstatus]: 1 AbsMax[messstatus]: 10
Re: [toaster] using mrtg with the toaster
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]: 1 AbsMax[msg]: 2 Options[msg]: gauge Target[msg]: `/usr/local/bin/qmailmrtg7 m /var/log/mailer/send` PageTop[msg]: BFQDN Messages/Bbr ShortLegend[msg]: msg YLegend[msg]: msg/hour Legend1[msg]: Total Msgnbsp; LegendI[msg]: Deliveries:nbsp; LegendO[msg]: Attempts:nbsp; WithPeak[msg]: ymwd XSize[msg]: 350 YSize[msg]: 150 #--- Title[queue-size]: Queue Size - FQDN MaxBytes[queue-size]: 1 AbsMax[queue-size]: 10 Options[queue-size]: gauge Target[queue-size]: `/usr/local/bin/qmailmrtg7 q /var/qmail/queue` PageTop[queue-size]: BFQDN Queue Size/Bbr ShortLegend[queue-size]: Msg YLegend[queue-size]: msg total Legend1[queue-size]: msgnbsp; LegendI[queue-size]: msgnbsp; LegendO[queue-size]: unprocessed msg:nbsp; WithPeak[queue-size]: ymwd XSize[queue-size]: 350 YSize[queue-size]: 150 #--- Title[clamd]: clamd - FQDN MaxBytes[clamd]: 1 AbsMax[clamd]: 10 Options[clamd]: gauge Target[clamd]: `/usr/local/bin/qmailmrtg7 C /var/log/mailer/clamd` PageTop[clamd]: BFQDN ClamAV/Bbr ShortLegend[clamd]: Msg YLegend[clamd]: viri/hour Legend1[clamd]: anbsp; LegendI[clamd]: foundnbsp; LegendO[clamd]: errors:nbsp; WithPeak[clamd]: ymwd XSize[clamd]: 350 YSize[clamd]: 150 #--- Title[spamd]: spamd - FQDN MaxBytes[spamd]: 1 AbsMax[spamd]: 10 Options[spamd]: gauge Target[spamd]: `/usr/local/bin/qmailmrtg7 S /var/log/mailer/spamd` PageTop[spamd]: BFQDN SpamAssassin/Bbr ShortLegend[spamd]: Msg YLegend[spamd]: spam/hour Legend1[spamd]: anbsp; LegendI[spamd]: cleannbsp; LegendO[spamd]: spam:nbsp; WithPeak[spamd]: ymwd XSize[spamd]: 350 YSize[spamd]: 150 #--- Title[concurrency]: Local/Remote Concurrency - FQDN MaxBytes[concurrency]: 500 AbsMax[concurrency]: 1 Options[concurrency]: gauge Target[concurrency]: `/usr/local/bin/qmailmrtg7 c /var/log/mailer/send` PageTop[concurrency]: BFQDN - Local/Remote Concurrency/Bbr ShortLegend[concurrency]: concurrency YLegend[concurrency]: max concurrency Legend1[concurrency]: concurrencynbsp; LegendI[concurrency]: localnbsp; LegendO[concurrency]: remotenbsp; WithPeak[concurrency]: ymwd XSize[concurrency]: 350
Re: [toaster] EZMLM Cannot work in NFS
On 5/23/05, Bill WONG-SV [EMAIL PROTECTED] wrote: Dear Jason, could you let me know what's yr settings? as i got FreeBSD as NFS and client, and the EZMLM cannot work properly, the moderator cannot work and it seems the EZMLM's process being locked. --- here for your reference -- 2059 vpopmail960 1212K 600K lockd 1 0:00 0.00% 0.00% ezmlm-clean 6204 vpopmail960 1212K 600K lockd 0 0:00 0.00% 0.00% ezmlm-clean 5624 vpopmail960 1220K 608K lockd 0 0:00 0.00% 0.00% ezmlm-warn 2913 vpopmail960 1212K 600K lockd 1 0:00 0.00% 0.00% ezmlm-clean 2593 vpopmail960 1212K 600K lockd 0 0:00 0.00% 0.00% ezmlm-clean 18167 vpopmail960 1216K 532K lockd 0 0:00 0.00% 0.00% ezmlm-return 3483 vpopmail960 1216K 532K lockd 1 0:00 0.00% 0.00% ezmlm-return 646 vpopmail960 1220K 580K lockd 0 0:00 0.00% 0.00% ezmlm-store 3746 vpopmail960 1216K 532K lockd 1 0:00 0.00% 0.00% ezmlm-return 3078 vpopmail960 1216K 532K lockd 1 0:00 0.00% 0.00% ezmlm-return 6178 vpopmail960 1216K 532K lockd 0 0:00 0.00% 0.00% ezmlm-return 50806 vpopmail960 1216K 532K lockd 0 0:00 0.00% 0.00% ezmlm-return 3633 vpopmail960 1216K 532K lockd 0 0:00 0.00% 0.00% ezmlm-return 4469 vpopmail960 1216K 532K lockd 0 0:00 0.00% 0.00% ezmlm-return 551 vpopmail960 1220K 580K lockd 0 0:00 0.00% 0.00% ezmlm-store 4509 vpopmail960 1220K 608K lockd 0 0:00 0.00% 0.00% ezmlm-warn - bill NFS v3 client and server (client is slackware linux, server is proprietary NAS). What settings do you need? Sounds like a nfs problem. What are your nfs mount options? -- Jason [EMAIL PROTECTED]
Re: [toaster] Freshclam question
quote who=Alex quote who=Tom Collins I'm running Fedora Core 3, and I was able to simply create a /etc/logrotate.d/freshclam file as follows: /var/log/freshclam.log { daily notifempty missingok postrotate /usr/bin/killall -HUP freshclam 2 /dev/null || true endscript } Quoting myself but wanted to let know that this script indeed does work, my logs are rotated and reporting works fine. Thanks Tom and everyone else who answered! Alex