[mrtg] Slowly incrementing Value

JACOB STEENHAGEN jsteenhagen at acutex.net
Tue Jan 29 20:08:55 MET 2002

General Information:
I'm trying to use MRTG to graph a counter that slowly increments, but I only
want the change from last time, not what the 'gauge' option gives.  From
what I've seen in the docs, it appears that when MRTG is set to graph in
this manner (which it seems to be by default and is the way that it handles
routers, etc) it uses something like the following formula:
(current_value - last_value) / time_elapsed
But my problem is that my counter increments quite slowly.  In the 5 minutes
in-between readings, it may only increment by 1, which causes MRTG to read
it as 1/5.  It appears that when MRTG reads a value this small, it doesn't
record it.  I really want this to be recorded as 1, however.
What I'm specifically trying:
I have a Microsoft Exchange Server that I'm trying to monitor via SNMP and
MRTG.  The Internet Mail Connector keeps simple Incoming/Outgoing counters
(among other things), but as mentioned above, these don't increment at a
fast pace.  Following is the config options I'm trying to use:
-------- BEGIN PASTE ---------
Target[]: at 199.
MaxBytes[]: 5000
Options[]: growright
ShortLegend[]: Msgs.
YLegend[]: Messages
Legend1[]: Incoming Internet Messages
Legend2[]: Outgoing Internet Messages
LegendI[]: In: 
LegendO[]: Out: 
Title[]: Internet e-mail for Acutex Exchange Server --
PageTop[]: <H1>Internet e-mail for Acutex Exchange Server
   <TR><TD>System:</TD>     <TD>EXCHANGE3 in ACUTEX</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>Jacob Steenhagen</TD></TR>
   <TR><TD>Ip:</TD>         <TD> (exchange3)</TD></TR>

-------- END PASTE ---------
But it doesn't seem to record anything but 0's. To make things even more
complicated, whenever the computer or service is restarted, the counters
restart at 0.  I'm not sure if this causes an issue or not, but thought I'd
mention it.

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