[rrd-users] Re: Problem with counter wrap

Pavel Ruzicka pavouk at pavouk.org
Fri Jan 21 21:07:15 MET 2005


Hello,

>Is there a different way to
> get the data from the routers instead of snmp commands (snmpget
> snmpwalk) ? Can I get the values from a 64-bit counter ?

MRTG doesn't have problem with 64bit counters. You must use right options.
For example I create configuration automatically with cfgmaker. I call
cfgmaker with this option: "--snmp-options=:::2::2". Options are described
here: http://people.ee.ethz.ch/~oetiker/webtools/mrtg/cfgmaker.html
When 64 bit counters are not available (for slow interfaces), that cfgmaker 
reverts to 32bit counters.

If you create configuration manually, it will look like this:
Target[router.xxx.cz_POS1_0]: \POS1/0:community at router.xxx.cz:::2::2
...

With 2 on the end mrtg will use SNMP version 2 and "ifhcinoctets" on place
"ifinoctets". 

Best regards,

Pavel Ruzicka

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list