From: SourceForge.net <no...@so...> - 2012-10-19 18:19:48
|
Bugs item #3564179, was opened at 2012-09-02 09:51 Message generated for change (Comment added) made by fis04268 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3564179&group_id=12694 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: agent Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Finzel Stefan (fis04268) Assigned to: Nobody/Anonymous (nobody) Summary: snmpTargetSpinLock returns invalid error Initial Comment: net-snmp-5-7-2-rc2: SNMP-TARGET-MIB::snmpTargetSpinLock (1.3.6.1.6.3.12.1.1.0) is returning wrong error (inconsistentValue) writing to an invalid instance. Error notWritable / noCreation was expected. correct: snmpset -v2c -cprivate 192.168.0.39 1.3.6.1.6.3.12.1.1.0 i 1 iso.3.6.1.6.3.12.1.1.0 = INTEGER: 1 incorrect: snmpset -v2c -cprivate 192.168.0.39 1.3.6.1.6.3.12.1.1 i 1 Error in packet. Reason: inconsistentValue (The set value is illegal or unsupported in some way) Failed object: iso.3.6.1.6.3.12.1.1 dito for 1.3.6.1.6.3.12.1.1.0.0 1.3.6.1.6.3.12.1.1.1 ... ---------------------------------------------------------------------- >Comment By: Finzel Stefan (fis04268) Date: 2012-10-19 11:19 Message: it looks like REGISTER_MIB was not made to handle scalars like snmpTargetSpinLock therefore a query to an invalid oid (1.3.6.1.6.3.12.1.1.0.0 or 1.3.6.1.6.3.12.1.1.1) is not recognized this could be fixed by checks around functions var_targetSpinLock or write_targetSpinLock ---------------------------------------------------------------------- Comment By: Finzel Stefan (fis04268) Date: 2012-09-03 02:37 Message: the behaviour should also be consistent to other locks like ipAddressSpinLock, usmUserSpinLock, vacmViewSpinLock ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3564179&group_id=12694 |