[mrtg] Re: Y axis scale

Danny Villanueva danilo.v at pacific.net.ph
Thu May 16 10:10:00 MEST 2002


hi alex,

thanks for the suggestion...i tried it but still wouldn't display
it correctly.

here his my config:

WorkDir: /var/www/html/mrtg/tunnel
Options[_]: growright, bits
Target[myrouter]:
.1.3.6.1.4.1.9.2.2.1.1.6.17&.1.3.6.1.4.1.9.2.2.1.1.8.17:community at myrouter_ip
SetEnv[myrouter]: MRTG_INT_IP="xxx.xxx.xxx.xxx" MRTG_INT_DESCR="Tunnel2"
MaxBytes[myrouter]: 1125
Factor[myrouter]: 100
Title[myrouter]: Tunnel2
PageTop[myrouter]: <H1>Tunnel2</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>router in </TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>Description:</TD><TD>Tunnel2  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>Encapsulation Interface (131)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>Tu2</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1125.0 Bytes/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>192.169.34.226</TD></TR>
 </TABLE>


snmpwalk shows correct values:

snmpwalk xxx.xxx.xxx.xxx community .1.3.6.1.4.1.9.2.2.1.1.6.17
enterprises.9.2.2.1.1.6.17 = 244000

but my graph shows 244000/100 = 2440

snmpwalk xxx.xxx.xxx.xxx community .1.3.6.1.4.1.9.2.2.1.1.8.17
enterprises.9.2.2.1.1.8.17 = 311000

but my graph shows 311000/100 = 3110

i already used:
Factor[myrouter]: 100

but this only applies only to all numbers shown below the graph.
any other suggestion will be appreciated.

thanks,
danny




At 12:04 PM 5/15/2002 +0200, Alex van den Bogaerdt wrote:
>
>Danny Villanueva wrote:
>
>> my graph shows Y axis scale 1/100 of the actual bits/sec.
>> is there a way to get the correct 1:1 ratio?  i have used:
>> 
>> Factor[myrouter]: 100
>> 
>> but this only applies only to all numbers shown below the 
>> graph.
>
>Don't use any options at all.  Make sure you do not use default
>options either (target[_] and such).
>
>When you do it like this, it should display bytes per second.
>
>From there you can add options to your liking.  Start with
>"Options[yourtarget]: bits"
>
>HTH
>-- 
>   __________________________________________________________________
> / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
>| work                                                         private |
>| My employer is capable of speaking therefore I speak only for myself |
>+----------------------------------------------------------------------+
>| Technical questions sent directly to me will be nuked. Use the list. | 
>+----------------------------------------------------------------------+
>| http://faq.mrtg.org/                                                 |
>| http://rrdtool.eu.org  --> tutorial                                  |
>+----------------------------------------------------------------------+
>
>--
>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
>
>

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