[mrtg] Re: mrtg with sendmail again

Imran imranbhatti at isb.sdnpk.org
Wed Mar 14 08:27:45 MET 2001


okay there was permission error

but now when i run
/usr/local/src/mrtg-2.9.10/bin/get-smtp-msg-local.pl
it gives
540069
730767
15days
hostname

where hostname is my hostname

but now i use this script
./mrtg perlcfg.cfg


it create html but not the statistics

here is the perlcfg.cfg

Workdir:/usr/local/apache/htdocs/mailstats
Options[^]: perminute,nopercent,integer
Target[mail-msg]: `/usr/local/src/mrtg-2.9.10/bin/get-smtp-msg-local.pl'
MaxBytes[mail-msg]: 2000000
Title[mail-msg]: SMTP Messages/minute on mail server
PageTop[mail-msg]: SMTP Messages/minute on mail.server
Legend1[mail-msg]: SMTP Messages/minute in
Legend2[mail-msg]: SMTP Messages/minute out
LegendI[mail-msg]: SMTP Messages/minute in
LegendO[mail-msg]: SMTP Messages/minute out



so where is the problem now
html output is not showing any statistics????
what i am doing wrong

> 
> 
> What happens if you manually run
> /usr/local/src/mrtg-2.9.10/bin/get-smtp-bytes-local.pl
> ns1-isb.sdnpk.org?  Or run get-smtp-bytes-local.pl on the mail server
> itself?
> 
> 

-- 
Best Regards
 Imran Fazal Bhatti
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                     "Only The Shadow Knows                          |
|                      what evil lurks in the                         |
|                          Heart of Men!"                             |
|                        !!! Linux User !!!                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
               This e-mail message is 100% Microsoft free!




--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list