performing GETs within a subagent

2018-05-11 Thread Skiba, Bill
In an embedded linux application, I've successfully made a subagent that uses the 'Traditional API' in its servicing thread, rather than the 'Single API' (described in http://net-snmp.sourceforge.net/docs/README.thread.html). That is, it uses register_readfd(), snmp_select_info(), netsnmp_exte

unregister scalar?

2018-04-30 Thread Skiba, Bill
Is netsnmp_unregister_handler() the correct API to un-do the effect of a previous call to netsnmp_register_scalar() ? That is, if I used netsnmp_create_handler_registration() followed by netsnmp_register_scalar() to register a single OID, will netsnmp_unregister_handler() remove the registration