On Tue, 29 Nov 2005 16:45:11 -0800 Yi wrote:
ZY> Our application is using net-snmp APIs to send trap and the application
ZY> does not need to load and read default mibs. We have used following APIs
ZY> to avoid loading and reading default mibs:
ZY> 
ZY>  netsnmp_set_mib_directory("");

This tells the library that the search patch for mibs is empty, but does not
tell it not to search for mibs.

ZY> Any suggestions how we can fix this? 

I'd configure with mib loading disable, which would make the code a bit
smaller too. Or set MIBS="" in your environment. Or set 'mibs ""' in your
snmp.conf. Or, in code, call handle_mib_conf("","");

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to