#33 closed defect (fixed)
cfgmaker in 2.15.2 improperly adding nohc:yes
Reported by: | human | Owned by: | somebody |
---|---|---|---|
Version: | Keywords: | cfgmaker nohc | |
Cc: |
Description
With the --snmp-options=:::::2 option in cfgmaker, the resulting cfg file has nohc[...]: yes specified for each interface even though the device supports ifHC counters. Cisco 7606 IOS 12.2(18) and Catalyst 6513 CatOS 8.4(5) have worked fine with v2 64-bit counters in previous versions of mrtg.
Change History (4)
comment:1 Changed 15 years ago by human
comment:2 Changed 13 years ago by human
In version 2.16.2, I am seeing this bug for a different reason: On a Cisco 6500 platform (version 12.2(33)SXI3), the unrouted-VLAN-xyz interfaces return a speed of zero for both the ifSpeed and ifHighSpeed subtrees. This is causing cfgmaker to switch to the SNMPv1 counters for these interfaces.
Here is my modified version of line 907 in cfgmaker:
if((!defined $speed) or $counter eq "" or $counter !~ /\d/ or $SNMP_Session::errmsg or $Net_SNMP_util::ErrorMessage?){
comment:3 Changed 12 years ago by oetiker
- Resolution set to fixed
- Status changed from new to closed
thanks. fix is in r334
comment:4 Changed 10 years ago by human
==External Links==
- Grosir Baju Batik
- Baju Batik Wanita
- Baju Batik Pria
- Baju Batik Modern
- Baju Batik Sarimbit
- Baju Batik Pasangan
- Baju Batik Muslim
- Baju Batik Couple
- Baju Batik Tulis
- Baju Batik Terbaru
- Baju Batik Remaja
- Baju Batik Pekalongan
- Baju Batik Couple
- Dokar Balap
- Jasa SEO Murah
- Berita Terkini
- Berita Terbaru
- Berita Hari Ini
- Berita Terupdate
- Kumpulan Berita
I see this in 2.16.2 when polling 64 bit counters. Running cfgmaker with debug on shows InHCInOctets counter being prefixed with a "+".
Changing line 907 of cfgmaker resolves this issue for me.