Red Hat Bugzilla – Bug 754275
Cannot create new rows in snmpTargetAddrTable
Last modified: 2013-04-24 11:20:25 EDT
Description of problem: There is a problem with the snmpTargetAddrTable's RowStatus column which prevents row creation. $ snmpset -v2c -c private localhost snmpTargetAddrRowStatus.\'foo\' = createAndGo Error in packet. Reason: wrongLength (The set value has an illegal length from what the agent expects) Failed object: SNMP-TARGET-MIB::snmpTargetAddrRowStatus.'foo' Version-Release number of selected component (if applicable): net-snmp-5.5-31.el6.x86_64 How reproducible: always Additional info: This problem was fixed in net-snmp's 5.3, 5.4 and 5.5 branches in May of last year. See http://sourceforge.net/tracker/?func=detail&atid=112694&aid=2972579&group_id=12694
This problem exists in the 6.2 beta as well.
Now it's too late in RHEL 6.2 development process to fix such bug, only critical bugs are being fixed now. Please contact your Red Hat support to consult possibility of earlier fix than in RHEL 6.3.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Previously, snmpd did erroneously check length of SNMP-TARGET-MIB::snmpTargetAddrRowStatus value in incoming SNMP-SET requests on 64bit platforms, which resulted into snmpd sending error reply to correct SNMP-SET request. In this update, check of SNMP-TARGET-MIB::snmpTargetAddrRowStatus is fixed and it is possible to set it remotely using SNMP-SET messages.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-0876.html