Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2408 ipAddressRowStatus requests an invalid enum value 0

open
nobody
agent (1103)
5
2012-11-08
2012-09-03
Finzel Stefan
No

net-snmp-5-7-2-rc2

ipAddressRowStatus is valid at agent startup but gets invalid (non existing enum 0) after some time and lots of queries to arbitrary oids.
If this happens all valid entries seem to change to invalid entries all times at the same time.

snmpwalk -v2c -cpublic 192.168.0.39 1.3.6.1.2.1.4.34.1.10
iso.3.6.1.2.1.4.34.1.10.1.4.127.0.0.1 = INTEGER: 1
iso.3.6.1.2.1.4.34.1.10.1.4.192.168.0.39 = INTEGER: 1
iso.3.6.1.2.1.4.34.1.10.1.4.192.168.0.255 = INTEGER: 1

snmpwalk -v2c -cpublic 192.168.0.39 1.3.6.1.2.1.4.34.1.10
iso.3.6.1.2.1.4.34.1.10.1.4.127.0.0.1 = INTEGER: 0
iso.3.6.1.2.1.4.34.1.10.1.4.192.168.0.39 = INTEGER: 0
iso.3.6.1.2.1.4.34.1.10.1.4.192.168.0.255 = INTEGER: 0

Discussion

  • Finzel Stefan
    Finzel Stefan
    2012-09-03

    My test program is reading and writing back each read-write and read-create value of all oids.
    Writing the read value 1 /(enum 'active') back cause ipAddressRowStatus to change to an invalid enum 0.

    example:

    snmpget -v2c -cprivate 192.168.0.39 1.3.6.1.2.1.4.34.1.10.1.4.127.0.0.1
    iso.3.6.1.2.1.4.34.1.10.1.4.127.0.0.1 = INTEGER: 1

    snmpset -v2c -cprivate 192.168.0.39 1.3.6.1.2.1.4.34.1.10.1.4.127.0.0.1 i 1
    Error in packet.
    Reason: (genError) A general failure occured
    Failed object: iso.3.6.1.2.1.4.34.1.10.1.4.127.0.0.1

    snmpget -v2c -cprivate 192.168.0.39 1.3.6.1.2.1.4.34.1.10.1.4.127.0.0.1
    iso.3.6.1.2.1.4.34.1.10.1.4.127.0.0.1 = INTEGER: 0