Re: Problem installing a MIB

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGb2q5iOp6y1Tj1D7prMqUbbFhGau5UvuXgC30uA-eqEJg@mail.gmail.com>
On 18 May 2012 10:41, Jérôme BELLEGARDE
<[email protected]> wrote:
> But :  snmpset -v2c -c tutset localhost:9999 NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 = 5
> Return me : Reason: wrong Length (The set value has an illegal length from what the agent expects)
> Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0

What does the code that implements this object look like?


> This is because I'm running on Ubunu x64 I guess.

That sounds very likely.

> I found this thread : [snip]
> And I'm actually trying our solution (long instead of int).

So what does the code file look like?


> I compile back net snmp (./configure // make // make install (do I have to do that all the time ?).

Yes.

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.