net snmp on 64bit ubuntu snmpset failure
Alex Hu <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all: I am trying to use net snmp for our test project. I have installed net snmp 6.6.1.1 on my 64 bit Ubuntu machine. I can successfully run snmpget command like the following: snmpget -v2c -c public localhost NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 and I receive its value back: NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 = INTEGER: 1 But when I try to test its snmpset command, I keep getting WRONG LENGTH error: snmpset -v 2c -c public localhost NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 i 5 Error in packet. Reason: wrongLength (The set value has an illegal length from what the agent expects) Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 Does anyone know what's wrong? Is it because I am running in 64 bit machine? Is there any way to go around it? Thanks. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users