Unable to create a row in the snmpTargetAddrTable
Environment
Red Hat Enterprise Linux 6
Issue
It's not possible to create a row in the snmpTargetAddrTable
because the snmpset
command throws an error.
Resolution
The issue has been resolved in the following advisory:
Root Cause
snmpd
erroneously checked the length of the SNMP-TARGET-MIB::snmpTargetAddrRowStatus
value in incoming SNMP-SET requests on 64 bit platforms, which resulted into snmpd
sending error replies to correct SNMP-SET requests.
Diagnostic Steps
Steps to reproduce:
$ 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'
$
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments