Re: Issue linked to .0 at the end of OID

Wes Hardaker via Net-snmp-coders <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
Philippe Denis <[email protected]> writes:

> I’ve a strange behavior when using snmpget command. When I used the
> OID of one of my objects correctly registered, the sub agent replied
> correctly but when I put .0 at the end of the OID, It doesn’t
> reply. For sake of clarity, it’s a scalar object.
> 
> Have you already experienced this behavior ?
> 
> What is the meaning of this .0 ? Is it mandatory ?

Scalar objects are supposed to have a .0 at the end, and is functionally
their identifier.  Since there is only one, it has just a single
identifier (.0).  Tables, on the other hand, have more identifiers under
their column registration point.

So if your implementation of a scalar should only respond if the .0 is
present in the oid beyond your registration point.
-- 
Wes Hardaker
Please mail all replies to [email protected]


_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.