i have the same problem...
and i think is the type of the oid where are the probleme :"Gauge32"
because on the same equipement other oid with other type work fine...
onlye gauge32 dont work (but work with snmpwalk shell cmd).
and i use the same snmp version in zabbix and snmpwalk cmd...
i used net-snmp 5.4 and zabbix 1.4.1...
that where strange, is the returned type (81 in hex):
but i don't know why they respond this code in type field !!!!
the debug trace of the snmp get:
and i think is the type of the oid where are the probleme :"Gauge32"
because on the same equipement other oid with other type work fine...
onlye gauge32 dont work (but work with snmpwalk shell cmd).
and i use the same snmp version in zabbix and snmpwalk cmd...
i used net-snmp 5.4 and zabbix 1.4.1...
that where strange, is the returned type (81 in hex):
# find /product/net-snmp/include/ -type f | xargs grep 81
/product/net-snmp/include/net-snmp/library/snmp.h:#define SNMP_NOSUCHINSTANCE (ASN_CONTEXT | ASN_PRIMITIVE | 0x1) /* 81=129 */
/product/net-snmp/include/net-snmp/library/snmp.h:#define SNMP_NOSUCHINSTANCE (ASN_CONTEXT | ASN_PRIMITIVE | 0x1) /* 81=129 */
# find /product/net-snmp/include/ -type f | xargs grep 129
/product/net-snmp/include/net-snmp/library/snmp.h:#define SNMP_VERSION_2p 129 /* no longer supported by this code (> 4.0) */
/product/net-snmp/include/net-snmp/library/snmp.h:#define SNMP_MSG_INTERNAL_OBJECT_LOOKUP 129
/product/net-snmp/include/net-snmp/library/snmp.h:#define SNMP_NOSUCHINSTANCE (ASN_CONTEXT | ASN_PRIMITIVE | 0x1) /* 81=129 */
/product/net-snmp/include/net-snmp/library/snmp.h:#define SNMP_VERSION_2p 129 /* no longer supported by this code (> 4.0) */
/product/net-snmp/include/net-snmp/library/snmp.h:#define SNMP_MSG_INTERNAL_OBJECT_LOOKUP 129
/product/net-snmp/include/net-snmp/library/snmp.h:#define SNMP_NOSUCHINSTANCE (ASN_CONTEXT | ASN_PRIMITIVE | 0x1) /* 81=129 */
the debug trace of the snmp get:
13210:20070725:000608 In get_value()
13210:20070725:000608 In get_value_SNMP()
13210:20070725:000608 SNMP [[email protected]:161:161]
13210:20070725:000608 OID [.1.3.6.1.4.1.1872.2.5.4.2.5.2]
13210:20070725:000608 In get_value_SNMP() 0.2
13210:20070725:000608 In get_value_SNMP() 0.3
13210:20070725:000608 Status send [0]
13210:20070725:000608 In get_value_SNMP() 0.4
13210:20070725:000608 In get_value_SNMP() 1
13210:20070725:000608 In get_value_SNMP() 2
13210:20070725:000608 AV loop()
13210:20070725:000608 OID [.1.3.6.1.4.1.1872.2.5.4.2.5.2] value #2 has unknow type [81]
13210:20070725:000608 End get_value()
13210:20070725:000608 In get_value_SNMP()
13210:20070725:000608 SNMP [[email protected]:161:161]
13210:20070725:000608 OID [.1.3.6.1.4.1.1872.2.5.4.2.5.2]
13210:20070725:000608 In get_value_SNMP() 0.2
13210:20070725:000608 In get_value_SNMP() 0.3
13210:20070725:000608 Status send [0]
13210:20070725:000608 In get_value_SNMP() 0.4
13210:20070725:000608 In get_value_SNMP() 1
13210:20070725:000608 In get_value_SNMP() 2
13210:20070725:000608 AV loop()
13210:20070725:000608 OID [.1.3.6.1.4.1.1872.2.5.4.2.5.2] value #2 has unknow type [81]
13210:20070725:000608 End get_value()
Comment