I use:
###default: /usr/share/snmp/mibs
mibdirs +/Users/clausklein/.snmp/mibs:/opt/local/share/mibs/ietf:/opt/ local/share/mibs/iana
mibdirs +/Users/clausklein/Workspace/cpp/AgentPro/agent++/mibs

### mibs ALL
mibs +LLDP-MIB
...

That works fine;
Claus

On 02.09.2010, at 02:41, Owen Orakwue wrote:


How do I get the tools to use MIBDIRS environment variable. I exported MIBDIRS but snmpwalk still ignores it and gives unknown variable error. However if set the MIBS environment variable, it does the right thing? I will prefer to use just the MIBDIRS environment variable so I won't have to list all the mibs I need.
Thanks.
-Owen

------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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