Re: which MIBS I'm using

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Larry Fan wrote:
> I found more than one set of MIBS files in my host. Is there a way to 
> find out where's the MIB I'm using?

If you've got a fairly recent net-snmp version (5.2.2 or later), then

   net-snmp-config --default-mibdirs
   net-snmp-config --default-mibs

will tell you the compile-time default search path and mib list, 
respectively.

Otherwise (with any net-snmp version) you can run the tools with the 
"-Dparse-mibs" option which tends to tell you more than you probably 
wanted to know.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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.