This is why you want to add ::::2 to your targets so that MRTG uses 64-bit counters instead of 32-bit counters; with 64-bit counters, you have no roll-over problems.
To turn on 64-bit coutners with cfgmaker, add --snmp-options=:::::2 to the list of options you specify for cfgmaker. Matt ----- Original Message ---- From: Alexey V. Panfilov <[EMAIL PROTECTED]> To: [email protected] Sent: Friday, November 28, 2008 4:08:53 AM Subject: [mrtg] How mrtg counts used bandwith? Hi everyone! I've the question: how mrtg counts used bandwidth of high-loaded ports? AFAIK, mrtg uses ifInOctets.PORT_NUM and ifOutOctets.PORT_NUM OIDs. For example, I've Cisco3560G and I got next result: IF-MIB::ifOutOctets.10128 = Counter32: 1751739669 but Counter32 can have maximum value of 2^32-1. So, if I've traffic around 1Gbit/sec on this port Counter will reset to zero around 30 sec, but mrtg collects data every 5 min... Please, explain me mrtg's algorithm... P.S. Sorry for bad english -- Best regards, Alexey V. Panfilov ICQ: 1053180 Jabber: [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] www: http://www.subnets.ru _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
