[mrtg] Re: snmp v3 bug with low-speed interfaces

Pavel Ruzicka pavouk at pavouk.org
Mon Apr 17 20:27:26 MEST 2006


Hi,

what version of MRTG do you use? Similar problem with ifspeed was fixed
before few months.

Best regards,

Pavel Ruzicka

> On certain Cisco platforms, the ifHCInOctets counters are not populated
> for certain low-speed interfaces.  This poses a dilemma for snmp v3
> users.  The current scheme  for snmp v2 relies on cfgmaker to determine
> if the ifHCInOctets counters exist, and if not changes the snmp version
> to "1" instead of 2.  But snmp v3 provides not only different counters,
> but also different authentication methods, so a simple fallback to a
> different version of snmp is not sufficient.
>
> Possible approaches to fix this:
> 1.  Check every query of ifHCInOctets for "NoSuchInstance" and fall back
> at run-time within MRTG_lib.pm
> 2.  Create a separate flag in the interface config to query low-speed
> counters
> 3.  change the line generated by cfgmaker to read something like:
> Target[slowrouter_Se0_1_0]:
> ifInOctets#Se0/1\:0&ifOutOctets#Se0/1:0:public at slowrouter::2:1:1:3
>
> Which fix should I work towards?

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list