I register scalars for the following OIDs:
using netsnmp_register_scalar().

After I use snmpget application to retrieve the value for both the OIDs from
the agent. It works good.
When I use snmpwalk application to retrieve objects starting from, I get only the second OID, as the first isn't present in the
tree processed by the agent.

I suspect that the first scalar OID is in contrast with the second OID because
the first part is the same. Now I think that a node in the tree that has an
instance (subid 0) can't have child nodes.
But I'm not sure and I'd like a confirmation from you, please.

If my hypotesis is correct, I wonder why the second netsnmp_register_scalar()
doesn't complain with an error.

This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Net-snmp-coders mailing list