[mrtg] newbie : Average problem

Icar icar at icar-irc.net
Mon Feb 26 12:36:30 MET 2001


hi,
i have a little problem with MRTG generated graphs, here's the situation :

- Want to see total send / received mails
- I did à perl script that return two values every 5 minutes

If i reset MRTG graph and i send a mail i always have the avarage value.
Exemple :
0-5 mins : one mail send => i have 0 in graph
5-10 mins : 3 mail send => i have 2 in graph

I'm using gauge option so i dont understand ...

Any idea ?

Here's my cfg :

Target[mailmsgs]: `mail_script`
Options[mailmsgs]: growright,nopercent,gauge,integer,noinfo
Title[mailmsgs]: E-mails
WithPeak[mailmsgs]: wymd
PageTop[mailmsgs]: <h1>E-mails</h1>
MaxBytes[mailmsgs]: 100
YLegend[mailmsgs]: messages
ShortLegend[mailmsgs]: messages
LegendI[mailmsgs]: &nbsp;Mails received:
LegendO[mailmsgs]: &nbsp;Mails send:


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