Re: net snmp on 64bit ubuntu snmpset failure

2012-03-08 Thread Dave Shield
On 8 March 2012 01:51, Alex Hu wrote: > 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... > But when I try to test its snmpset command, I keep getting WRONG LENGTH > error: > > snmpset -v

net snmp on 64bit ubuntu snmpset failure

2012-03-08 Thread Alex Hu
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-SN

usmStats usage in 5.5

2012-03-08 Thread Jose Luis PeƱalver Paret
Hello, we have recently moved from net-snmp 5.3.3 to 5.5. Our code used to retrieve user request errors using usmStats, but in 5.5 it has been reimplemented and our code doesn't compile. In detail, we used variable2 usmStats_variables[]... as defined in usmStats.h, for example in this function