Re: Octet string index problem in net-snmp

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 01/02/2008, Alamelu Ramadurai <[email protected]> wrote:
> if the index is of size Octet String(6) and it is some
> system-id say:22 22 33 33 44 44.
> The index part in reuqest is sent as 02 22 22 33 33 44
> 44 and not as 04 06 22 22 33 33 44 44.

Well, if the index is indeed OctetString(6)  - i.e. a fixed
length string - then the OID wouldn't need to include the
length subidentifier.  So it should be encoded as
   04  22 22 33 33 44 44

I don't know why it's being sent as type 02, though.


What exactly is generating this OID?  Is it coming from
the agent, or a client application?   If the agent, then what
is the code that reports this value?   If a client, then what
is the exact command that you are running?

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.