On 9/6/10, Owen Orakwue <anini...@yahoo.com> wrote:
> Thanks Wes. I will like be able set MIBDIRS environment variable in my
> shell...this is in the documentation...has anybody tried it?

Yes.  I use this with cygwin:

   export MIBS=ALL
   export S="/usr/local/share/snmp/mibs"
   export MIBDIRS="$S;$S/cisco"

Regards,
Lee

> Thanks.
> -Owen
>
>
>
>
> ________________________________
> From: Wes Hardaker <harda...@users.sourceforge.net>
> To: Owen Orakwue <anini...@yahoo.com>
> Cc: Net-snmp-users@lists.sourceforge.net
> Sent: Fri, September 3, 2010 12:37:00 PM
> Subject: Re: MIBDIRS Environment variable
>
>>>>>> On Wed, 1 Sep 2010 17:41:46 -0700 (PDT), Owen Orakwue
>>>>>> <anini...@yahoo.com>
>>>>>>said:
>
> OO> How do I get the tools to use MIBDIRS environment variable. I
> OO> exported MIBDIRS but snmpwalk still ignores it and gives unknown
> OO> variable error. However if set the MIBS environment variable, it
> OO> does the right thing?  I will prefer to use just the MIBDIRS
> OO> environment variable so I won't have to list all the mibs I need.
>
> They work in combination.  MIBDIRS says where to look, but MIBS says
> what to look for.  If you want everything loaded set MIBS to "all".
> --
> Wes Hardaker
> Cobham Analytic Solutions

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