Hi,
on a cisco 6506 and 4003 running CatOS I have problems to get the ifAlias filled.
The OID for this is ifAlias: .1.3.6.1.4.1.9.5.1.4.1.1.4
This is in my oids-file:
ifName : .1.3.6.1.2.1.31.1.1.1.1 : branch
#ifAlias : .1.3.6.1.2.1.31.1.1.1.18 : branch
ifAlias : .1.3.6.1.4.1.9.5.1.4.1.1.4 : branch
ifBps : .1.3.6.1.2.1.2.2.1.5 : branch
ifInOctets : .1.3.6.1.2.1.2.2.1.10 : branch
ifOutOctets : .1.3.6.1.2.1.2.2.1.16 : branch
Running a snmpwalk manually returns the correct values. Putting this OID in the oids-template I got this in the devmon.log:
[06-02-27@16:58:25] No SNMP data found for ifAlias on CBS002
[06-02-27@16:58:25] Missing primary oid data for trans_regsub on ifAliasBox
[06-02-27@17:03:12] Undefined oid 'ifAliasBox' referenced in /bbserv/devmon//templates/cisco-4003/if_err/thresholds at line 7
[06-02-27@17:03:12] Undefined oid 'ifAliasBox' referenced in /bbserv/devmon//templates/cisco-4003/if_err/thresholds at line 7
[06-02-27@17:03:12] Undefined oid 'ifAliasBox' referenced in /bbserv/devmon//templates/cisco-4003/if_err/thresholds at line 7
[06-02-27@17:03:12] Undefined oid 'ifAliasBox' referenced in /bbserv/devmon//templates/cisco-4003/if_err/thresholds at line 7
[06-02-27@17:03:12] Undefined oid 'ifAliasBox' at line 8 of /bbserv/devmon//templates/cisco-4003/if_err/message, skipping this test.
[06-02-27@17:03:12] Undefined oid 'ifAliasBox' at line 5 of /bbserv/devmon//templates/cisco-4003/if_load/message, skipping this test.
[06-02-27@17:03:12] Undefined oid 'ifAliasBox' at line 3 of /bbserv/devmon//templates/cisco-4003/if_stat/message, skipping this test.
[06-02-27@17:03:12] Undefined oid 'ifAliasBox' referenced in /bbserv/devmon//templates/cisco-4003/if_dsc/thresholds at line 6
[06-02-27@17:03:12] Undefined oid 'ifAliasBox' referenced in /bbserv/devmon//templates/cisco-4003/if_dsc/thresholds at line 6
[06-02-27@17:03:12] Undefined oid 'ifAliasBox' referenced in /bbserv/devmon//templates/cisco-4003/if_dsc/thresholds at line 6
[06-02-27@17:03:12] Undefined oid 'ifAliasBox' referenced in /bbserv/devmon//templates/cisco-4003/if_dsc/thresholds at line 6
[06-02-27@17:03:12] Undefined oid 'ifAliasBox' at line 8 of /bbserv/devmon//templates/cisco-4003/if_dsc/message, skipping this test.
[06-02-27@17:08:25] No SNMP data found for ifAlias on CBS002
[06-02-27@17:08:25] No SNMP data found for ifAlias on CBS002
[06-02-27@17:08:25] No SNMP data found for ifAlias on CBS002
On the web-page I have this result (the ifAliasBox is not defined):
3/1Undefined 1.00 Gbps green 1.15 Mbps (0.12%) green 4.08 Mbps (0.41%)
How can I make this work?
Regards
Johann
|