title: net-snmp mib module handler/callback example?
body: <p>I'm looking for an example implementation of a mib module with a custom callback that deals with some of the structures in Netsnmp_node_handler:</p>
  
  <pre><code>test_handler(netsnmp_mib_handler *handler,
  netsnmp_handler_registration *reginfo,
  netsnmp_agent_request_info *reqinfo,
  netsnmp_request_info *requests)
  </code></pre>
  
  <p>I'd like to see an example of checking what request it is, i.e get/set/monitor request.  Checking if the oid matches the one in the class, getting the oid value, etc.  Currently I'm having problems doing this.</p>
  
  <p>Also when I do a snmpset my module is called twice, not sure why.</p>