correlating mib files and modules

"H. McManus" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Genexis BV
Message-ID <[email protected]>
Hello,

I've more or less managed to get snmpd working. The one thing I have been 
asked to do is limit the number of modules that snmpd loads (and hence 
answers to).

So I've been doing lots of walking through the tree using tkmib and have found 
plenty of objects that are not relevant on this system. tkmib is also kind 
enough to tell me which text file in /usr/share/snmp/mibs the given object is 
defined by.

My question is, how do I use this info to work out what module name to pass to 
snmpd -I -???? in order to stop the object from being loaded?

I'll illustrate with an example in case I haven't formulated the question very 
well. (Note, this is not necessarily a real world example, I'm just trying to 
illustrate my question).

I'd like to leave out .1.3.6.1.2.1.25.5 
(.iso.org.dod.internet.mgmt.mib-2.host.hrSWRunPerf). I see that it lives in 
HOST-RESOURCES-MIB. But how do I work out which module name to pass to snmpd 
-I -???

Also, how can I work out what other objects will also be removed if I remove 
this module?

Thanks!

Helen


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