> The code appears to be ok, but the string isn't registered:
> 
> $ snmpget -v2c -c public localhost 1.3.6.1.4.1.10.1.2
> SNMPv2-SMI::enterprises.10.1.2 = No Such Instance currently exists at 
> this OID

Is this the same OID that you gave in the
     netsnmp_create_handler_registration() call?

Remember that this is registering a scalar object,
so you'll need to add the instance subidentifier.
Try
    snmpget -v2c -c public localhost 1.3.6.1.4.1.10.1.2.0

Dave



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
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

Reply via email to