[mrtg] Factor

Martin Rheumer martinr at hotkey.net.au
Wed Jul 4 03:40:05 MEST 2001


I found using Factor influences the Totals at the bottom of
the graph and not the actual values in the graph...

AND

the *1024 at the end of a line only works on the first OID.

Is this a bug or by design ?

The reason for this is the value from an snmpget of a disk
usage under linux is given as 

host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.2 = 14747127

But the value needs to be * 4096

host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageAllocationUnits.2 =
4096 Bytes

So that it is 58988508 * 1024 = 60404232192 ( 60 Gbytes )

Any ideas ?

Martin


>X-From_: mrtg-bounce at list.ee.ethz.ch  Tue Jul  3 01:54:15 2001
>Delivered-To: martinr at hotkey.net.au
>Delivered-To: slist at ee.ethz.ch
>From: Jean-Eric Cuendet <Jean-Eric.Cuendet at linkvest.com>
>To: mrtg at list.ee.ethz.ch
>Subject: [mrtg] Factor
>Date: Mon, 2 Jul 2001 17:53:32 +0200 
>X-Mailer: Internet Mail Service (5.5.2650.21)
>X-archive-position: 10225
>Sender: mrtg-bounce at list.ee.ethz.ch
>X-original-sender: Jean-Eric.Cuendet at linkvest.com
>
>
>
>Hi,
>I have a target sending Kilobytes instead of bytes. I'd like MRTG to
>multiply the result by 1024.
>I tried:
>Target[bla]: <some valid OID>&<some valid OID> * 1024
>or
>Target[bla]: <some valid OID>&<some valid OID>
>Factor[bla]: 1024
>
>Neither works....
>The 1st case result in NULL values.
>The 2nd result in the same values as if Factor is removed.
>
>Any help?
>-jec
>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
>Jean-Eric Cuendet
>Linkvest SA
>Av des Baumettes 19, 1020 Renens Switzerland
>Tel +41 21 632 9043  Fax +41 21 632 9090
>http://www.linkvest.com  E-mail: jean-eric.cuendet at linkvest.com
>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
>
>
>
>--
>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