I am trying to find the correct mib2c conf file for implemeting the
low level snmp routines for my database. These are my requirements:

1) Given the index/indices in the OID extracted from the SNMP Varbind,
I can directly access the node which has the required info. I don't
want to go through a getfirst-getnext cycle to find the correct row
for an SNMP GET request. My database is maintained as a hash table and
so I can access my data by hashing on my indices.

2)My data base is not sorted, so for SNMP GetNexts , I dont mind
getfirst-getnext cycles being called.

I tried mfd (unsorted external also) and iterator options , but
iterator iterates through the getfirst-getnext cycles for a single
SNMP GET itself. If mfd is used, then there is memory required for
cache.

Is there a method which meets these requirements without iteration and
cache ? I am using netsnmp 5.4.1.
Plz let me know if anyone knows the answer.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to