[mrtg] cfgmaker snmp Drop back to V1

Pavel Ruzicka pavouk at pavouk.org
Tue Mar 4 11:49:04 CET 2008


Hello,

in cfgmaker 2.16.1 (2.15.2, 2.16.0) doesn't work
fallback to SNMP V1 if check for HighspeedCounters failed.

It works perfectly in 2.15.1.

I have routers with mixed highspeed and lowspeed interfaces.
Slow interface doesn't have 64 bit counters.
I need dropping back to V1 (32 bit counters) for these interfaces.

Command line:
-------------
./cfgmaker --ifref=descr   --show-op-down  --snmp-options=:::::2 
public at router7206.domain.cz

cfgmaker 2.16.1 output:
-----------------------
Target[router7206.domain.cz_FastEthernet0_0.10-802.1Q_vLAN_subif]: 
\FastEthernet0/0.10-802.1Q\ vLAN\ subif:public at router7206.domain.cz:::::2
Target[router7206.domain.cz_FastEthernet0_0.95-802.1Q_vLAN_subif]: 
\FastEthernet0/0.95-802.1Q\ vLAN\ subif:public at router7206.domain.cz:::::2
Target[router7206.domain.cz_Serial1_7_24]: 
\Serial1/7\:24:public at router7206.domain.cz:::::2
Target[router7206.domain.cz_Serial4_5_1]: 
\Serial4/5\:1:public at router7206.domain.cz:::::2

cfgmaker 2.15.1 output:
-----------------------
Target[router7206.domain.cz_FastEthernet0_0.10-802.1Q_vLAN_subif]: 
\FastEthernet0/0.10-802.1Q\ vLAN\ subif:public at router7206.domain.cz:::::2
Target[router7206.domain.cz_FastEthernet0_0.95-802.1Q_vLAN_subif]: 
\FastEthernet0/0.95-802.1Q\ vLAN\ subif:public at router7206.domain.cz:::::2
Target[router7206.domain.cz_Serial1_7_24]: 
\Serial1/7\:24:public at router7206.domain.cz
Target[router7206.domain.cz_Serial4_5_1]: 
\Serial4/5\:1:public at router7206.domain.cz

cfgmaker 2.16.1 DEBUG output:
--base: Walking ifHighSpeed
--base: snmpget public at router7206.domain.cz:::2::2:v4only for ifHighSpeed.1 -> 
100 Mb/s
--base: snmpget public at router7206.domain.cz:::2::2:v4only for 
ifHCInOctets.1 -> 35200372751523
--base: snmpget public at router7206.domain.cz:::2::2:v4only for ifHighSpeed.2 -> 
100 Mb/s
--base: snmpget public at router7206.domain.cz:::2::2:v4only for 
ifHCInOctets.2 -> 33809983847199
--base: snmpget public at router7206.domain.cz:::2::2:v4only for ifHighSpeed.3 -> 
10000 Mb/s
--base: snmpget public at router7206.domain.cz:::2::2:v4only for 
ifHCInOctets.3 ->
--base: check for HighspeedCounters failed ... Dropping back to V1
--base: snmpget public at router7206.domain.cz:::2::2:v4only for ifHighSpeed.4 -> 
2 Mb/s
--base: snmpget public at router7206.domain.cz:::2::2:v4only for 
ifHCInOctets.4 ->
--base: check for HighspeedCounters failed ... Dropping back to V1
--base: snmpget public at router7206.domain.cz:::2::2:v4only for ifHighSpeed.5 -> 
2 Mb/s
--base: snmpget public at router7206.domain.cz:::2::2:v4only for 
ifHCInOctets.5 ->
--base: check for HighspeedCounters failed ... Dropping back to V1

Best regards,

Pavel Ruzicka



More information about the mrtg mailing list