Philippe Denis <phdeni...@gmail.com> 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 net-snmp-coders@lists.sourceforge.net _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders