Re: MIBDIRS Environment variable

Lee <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 9/6/10, Owen Orakwue <[email protected]> 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 <[email protected]>
> To: Owen Orakwue <[email protected]>
> Cc: [email protected]
> 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
>>>>>> <[email protected]>
>>>>>>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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.