On mån, 2007-06-18 at 15:18 +0800, zhangyao wrote: > Hi all, > > I think snmpd never use the mib files,so > I change the path "C:\usr\share\snmp\mibs" to "C:\usr\share\snmp > \mib" > and then run snmpd -H > system show: > > 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 (DISMAN-EVENT-MIB): At line 0 in (none)
Yes, this is due to the fact that you (implicitly) have told snmpd to load the modules and here it complains about not beeing able to find them. You can tell snmpd the path to the mibs with the -M parameter and what mibs to load with the -m parameter, so if you do snmpd -M /nothing/here -H the you will get errors along the line of the ones you show above, but if you do snmpd -m: -H then the errors will go away /MF ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
