title: #SNMP using a custom OID
body: <p>Is it possible to use a custom OID in the library #SNMP (<a href="http://sharpsnmplib.codeplex.com/" rel="nofollow">http://sharpsnmplib.codeplex.com/</a>)?
  If so, how can a custom OID variable/subtree be added/registered with #SNMP so it is possible to read and write to those variables?</p>
  
  <p>I would like to extend/configure the agent deamon (snmpd) so it can read custom OIDs like
  iso.org.dod.internet.private.enterprise.XXX (1.3.6.1.4.1.XXX)</p>
  
  <p>For testing purposes let's say a "fake" OID will be used (something like 1.3.6.1.4.1.99999.0).</p>
  
  <p>What would be necessary to do in the #SNMP snmpd example agent so the program can read the values (snmpget, snmpgetnext...) of that OID?</p>
  
  <p>According to the  #SNMP Documentation (Documentation->Agent Development) when a handler tries to do a typical SNMP operation, it looks into the ObjectStore object to locate the specified object.</p>
  
  <p>So in order to use a custom OID does it need to be added to the ObjectStore?</p>
  
  <p>Is this the example of how to add an OID <a href="https://sharpsnmplib.codeplex.com/SourceControl/latest#SharpSnmpLib/Objects" rel="nofollow">https://sharpsnmplib.codeplex.com/SourceControl/latest#SharpSnmpLib/Objects</a>?</p>