[mrtg] Per minute option.

Nic le Roux nicl at rohlig.co.za
Fri Jun 20 11:04:16 MEST 2003

Hi there.
A question on the way MRTG calculates averages, and what happens when per 
minute option is added.

Below are two examples of how I'm graphing Discards and Errors.

I added the perminute option to graph the errors that come through. Before 
adding the per minute option it wouldn't graph anything, now it does and 
"appears" correct, but I'm concerned as to why and what exactly the 
perminute option does (I'm worried that I'm interpreting the graph 
incorrectly.) The X scale did not change, and appears exactly the same. I 
know its supposed to multiply the values by 60 but what else does it do ? 
It seems that by multiplying the values by 60 something else has to change 
ass well.

Also, after doing so, I added the per minute option to the discards graph, 
(which was graphing values, but very small), and after doing so some very 
big values started to come through, I did a manual snmpget to see the 
change over approximately 6 hours, and I received a value of 22000, which 
appears very big, but accepted as correct. So it seems in order (the graph 
anyway), but i need some way of verifying that all is well.

Bit confused and late nights with studies isn't helping.
Hope you guys have some info for me.

Thanks and regards 
Nic le Roux

Target[router]: ifInErrors.1&ifOutErrors.1:community at router:
SetEnv[router]: MRTG_INT_IP="$ipAddress" MRTG_INT_DESCR="Serial0/0"
Options[router]: growright,nopercent,perminute
MaxBytes[router]: 1000000
Directory[router]: errors
YLegend[router]: Error Packets
ShortLegend[router]: pkts
Legend1[router]: Packets with errors Inbound
Legend2[router]: Packets with Errors OutBound
LegendI[router]:  Errors In:
LegendO[router]:  Errors Out:
Title[router]: Serial0/0 [Branch: ] [CN: ] [Router: ]
PageTop[router]: <H1>Serial0/0: Parktown to Johannesburg Airport PCA 
(Packet Errors In and Outbound)</H1>
   <TR><TD>System:</TD>     <TD>Router in Parktown</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>Telkom CNC:(Tel) 0800 11 61 61</TD></TR>
   <TR><TD>Description:</TD><TD>Serial0/0 [Branch: ] [CN: ] [Router: 
   <TR><TD>ifType:</TD>     <TD>propPointToPointSerial (22)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>Se0/0</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>128.0 kbits/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>ipAddress</TD></TR>

Target[router]: ifInDiscards.1&ifOutDiscards.1:community at router:
SetEnv[router]: MRTG_INT_IP="" MRTG_INT_DESCR="Serial0/0"
Options[router]: growright,nopercent,perminute
Directory[router]: discards
MaxBytes[router]: 1000000
Title[router]: Serial0/0 Branch: JHB Airport CN: 64-00193-00 Router: 
YLegend[router]: Packets
ShortLegend[router]: pkts
Legend1[router]: Incoming Packets Discarded
Legend2[router]: OutGoing Packets Discarded
LegendI[router]: &nbsp;Inbound Discards:
LegendO[router]: &nbsp;Outbound Discards:
PageTop[router]: <H1>Serial0/0: Parktown to JHB Airport PCA (Discarded 
   <TR><TD>System:</TD>     <TD>roh-dr0-pkt in Parktown</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>Telkom CNC:(Tel) 0800 11 61 61</TD></TR>
   <TR><TD>Description:</TD><TD>Serial0/0 [Branch: JHB Airport] [CN: 
64-00193-00] [Router: roh-dr0-pkt]</TD></TR>
   <TR><TD>ifType:</TD>     <TD>propPointToPointSerial (22)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>Se0/0</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>128.0 kbits/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD></TD></TR>

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