Hi

when I ran snmpd with the flag "-M"  it works great, no warnings/errors
are shown and taked the mibs from the proper location

when I remove the "-M" flag and instead uses the command "mibdirs" in
snmp.conf - I see errors (Cannot find module)

when I use -Dparse_mibs flag I see that even though it read the
snmp.conf file and examining the mibdirs line (no errors are shown) -->
eventually it look for the MIBs in a wrong address..

-------------
snmp.conf
-------------
mibdirs  /data/net/naamab/snmp/snmp_mib/

------------
log
------------
read_config: Reading optional config file:
"/data/net/naamab/snmp/snmp_conf/snmp.conf"
read_config: Reading configuration
/data/net/naamab/snmp/snmp_conf/snmp.conf
read_config: /data/net/naamab/snmp/snmp_conf/snmp.conf:23 examining:
mibdirs  /data/net/naamab/snmp/snmp_mib/
parse-mibs: Scanning directory //.snmp/mibs
parse-mibs: No index
parse-mibs: cannot open MIB directory //.snmp/mibs
parse-mibs: Scanning directory
/home/naamab/eclipse/dev/common/libs/net-snmp-5.5/usr/share/snmp/mibs
parse-mibs: No index
parse-mibs: cannot open MIB directory
/home/naamab/eclipse/dev/common/libs/net-snmp-5.5/usr/share/snmp/mibs
parse-mibs:
Cannot find module (IP-MIB): At line 0 in (none)
parse-mibs:
Cannot find module (IF-MIB): At line 0 in (none)
parse-mibs:
Cannot find module (TCP-MIB): At line 0 in (none)
.....................

 

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to