RE: Getsa and walks by name

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <D8581B936E66064091ED5E1E4A4CC80213F131@ausx3mps304.aus.amer.dell.com>
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Monday, April 23, 2007 5:10 AM
To: Wilde, Donald
Cc: [email protected]
Subject: Re: Getsa and walks by name

On 20/04/07, [email protected] <[email protected]> wrote:
> The bigger surprise (and the one that I think is getting me) is that 
> even though both the daemon and the snmpwalk seem to _find_ the 
> DELL-CMC-MIB file, only the daemon _imports_ its definitions.


> ===========================================================
> ./configure command line:
>
> # ./configure --enable-mini-agent --with-mibdirs="/etc/snmp/mibs"
> --with-mib-modules="DELL-CMC-MIB" ....


Ah - that's probably not quite right.
The option "--with-mib-modules" controls what code is compiled into
the agent.   This invocation will cause the build to look for files

    DELL-CMC-MIB.{c,h}

in the 'agent/mibgroup' directory.
That doesn't (of itself) affect the list of MIB files to be loaded by
default.

What you probably want is the configure options

   --with-mibs="+DELL-CMC-MIB"

which *does* add this MIB to the default list.

Dave

Hi, Dave -

At _configure_ time??? Pardon my density, but why would I want to change
that at configure time? I thought that was the purpose of the snmp.conf
prop declaration 'mibs +DELL-CMC-MIB'.

Is there a lurker in there that makes one app work properly with the
load-time switch and one app not? I thought every app looked at
snmp.conf?

--
Don Wilde                           512-723-8255
Dell, Incorporated         Austin, Texas, USA

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