[mrtg] mrtg with sendmail again

Imran imranbhatti at isb.sdnpk.org
Tue Mar 13 08:11:27 MET 2001


hi again

i find useful documentattion in mrtg/contrib/mrtg-mail
but problem is that when i used mrtg with config file it gives following
error

WARNING: Problem with External get '/usr/sbin/mailstats':
   Expected a Number for 'in' but got 'Statistics from Tue Oct 19 22:31:43
1999'
WARNING: Problem with Externale get '/usr/sbin/mailstats':
   Expected a Number for 'out' but got 'M   msgsfr  bytes_from   msgsto
bytes_to  msgsrej msgsdis  Mailer



here is config file


WorkDir: /usr/local/apache/htdocs/mailstats/
Interval: 10 
#---------------------------------------------------------------
Target[mail]: `/usr/sbin/mailstats`
MaxBytes[mail]: 150
# AbsMax[mail]: 1800
#Unscaled[mail]: dwmy
Options[mail]: gauge
Title[mail]:  Sendmail Statistics
PageTop[mail]:  Sendmail Statistics</H1>
XSize[mail]: 500
#Supress[mail]: my
YSize[mail]: 200
WithPeak[mail]: dwmy
YLegend[mail]: No. of messages
ShortLegend[mail]: messages
LegendI[mail]: &nbsp;Incoming:
LegendO[mail]: &nbsp;Outgoing:





Here mailstats is file thats comes with sendmail.




-- 
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