Hi,

Our application is using net-snmp APIs to send trap and the application
does not need to load and read default mibs. We have used following APIs
to avoid loading and reading default mibs:

 netsnmp_set_mib_directory("");
 init_mib();

Our application works as expected when we using net-snmp-5.1 or earlier
version. But, we get following errors when the application is using
net-snmp-5.1.2:

No log handling enabled - turning on stderr logging
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none) 
Cannot find module (SNMPv2-MIB): At line 0 in (none) 
Cannot find module (SNMPv2-SMI): At line 0 in (none) 
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none) 
 Cannot find module (UCD-SNMP-MIB): At line 0 in (none) 
Cannot find module (UCD-DEMO-MIB): At line 0 in (none) 
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) 
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none) 
Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none) 
Cannot find module (LM-SENSORS-MIB): At line 0 in (none) 
Cannot find module (IPV6-ICMP-MIB): At line 0 in (none) 
Cannot find module (IPV6-MIB): At line 0 in (none) 
Cannot find module (IPV6-TCP-MIB): At line 0 in (none) 
Cannot find module (IPV6-UDP-MIB): At line 0 in (none) 
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) 
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)  
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none) 
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none) 
Cannot find module (SNMP-MPD-MIB): At line 0 in (none) 
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none) 
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none) 
Cannot find module (SNMPv2-TM): At line 0 in (none)

Any suggestions how we can fix this? 

Thanks in advance for your help!

Yi Zhou


-------------------------------------------------------
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_idv37&alloc_id865&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to