From: Olivier A. <ol...@au...> - 2012-11-06 11:08:35
|
hello I'm working on a template for atrica a-8100 and I got some weird things. for if_stat I got some trouble to get the information about ifAdminStatNum and ifOperStatNum. If I do the request by hand it's working : cat oids 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 ifBps : .1.3.6.1.2.1.31.1.1.1.15 : branch ifAdminStatNum : .1.3.6.1.2.1.2.2.1.7 : branch ifOperStatNum : .1.3.6.1.2.1.2.2.1.8 : branch snmpwalk -v 2c -c public XXX.XXX.XXX.XXX .1.3.6.1.2.1.2.2.1.7 | wc -l 469 snmpwalk -v 2c -c public XXX.XXX.XXX.XXX .1.3.6.1.2.1.2.2.1.7 | head IF-MIB::ifAdminStatus.1 = INTEGER: up(1) IF-MIB::ifAdminStatus.2 = INTEGER: up(1) IF-MIB::ifAdminStatus.3 = INTEGER: up(1) IF-MIB::ifAdminStatus.4 = INTEGER: up(1) IF-MIB::ifAdminStatus.5 = INTEGER: up(1) IF-MIB::ifAdminStatus.6 = INTEGER: up(1) IF-MIB::ifAdminStatus.7 = INTEGER: up(1) IF-MIB::ifAdminStatus.8 = INTEGER: up(1) IF-MIB::ifAdminStatus.9 = INTEGER: up(1) IF-MIB::ifAdminStatus.10 = INTEGER: up(1) snmpwalk -v 2c -c public XXX.XXX.XXX.XXX .1.3.6.1.2.1.2.2.1.8 | head IF-MIB::ifOperStatus.1 = INTEGER: up(1) IF-MIB::ifOperStatus.2 = INTEGER: up(1) IF-MIB::ifOperStatus.3 = INTEGER: up(1) IF-MIB::ifOperStatus.4 = INTEGER: up(1) IF-MIB::ifOperStatus.5 = INTEGER: up(1) IF-MIB::ifOperStatus.6 = INTEGER: up(1) IF-MIB::ifOperStatus.7 = INTEGER: up(1) IF-MIB::ifOperStatus.8 = INTEGER: up(1) IF-MIB::ifOperStatus.9 = INTEGER: up(1) IF-MIB::ifOperStatus.10 = INTEGER: up(1) snmpwalk -v 2c -c public XXX.XXX.XXX.XXX .1.3.6.1.2.1.2.2.1.8 | wc -l 469 But in devmon log I get : No SNMP data found for ifAdminStatNum on XXXXXXXXXX No SNMP data found for ifOperStatNum on XXXXXXXXXX The only lead I have is the amount of data I get perhaps 469 is too much. I don't know. oau |