From: SourceForge.net <no...@so...> - 2010-09-02 10:31:28
|
Bugs item #3058101, was opened at 2010-09-02 10:31 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3058101&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: 64-bit Status: Open Resolution: None Priority: 5 Private: No Submitted By: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: snmpset returned WrongLength under ubuntu amd64 Initial Comment: version 5.6 rc1, ubuntu 9.04 amd64 Compile and start agent OK. loaded examples/scalar_int mib module. $ snmpget -v2c -cpublic localhost:11161 .1.3.6.1.4.1.8072.2.1.1.0 NET-SNMP-EXAMPLES-MIB::netSnmpExampleInteger.0 = INTEGER: 42 $ snmpset -v2c -cpublic localhost:11161 .1.3.6.1.4.1.8072.2.1.1.0 = 44 Error in packet. Reason: wrongLength (The set value has an illegal length from what the agent expects) Failed object: NET-SNMP-EXAMPLES-MIB::netSnmpExampleInteger.0 here is a similar bug: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/587828 watcher.c line 205 } else if (((winfo->flags & WATCHER_MAX_SIZE) && requests->requestvb->val_len > winfo->max_size) || ((winfo->flags & WATCHER_FIXED_SIZE) && requests->requestvb->val_len != get_data_size(winfo))) { netsnmp_set_request_error(reqinfo, requests, SNMP_ERR_WRONGLENGTH); requests->requestvb->val_len ===> 8 get_data_size(winfo) ===>4 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3058101&group_id=12694 |