> > >>$ agent/snmpd -Dmib_init -I -hr_other,hr_disk -H 2>&1 | grep hr_
> But is it correct to say that the two tokens 'mib_init' and '-I' and
> the module names with a minus '-' in front need to be used in concert?
No.
You're confusing two completely separate options.
There's one option
-Dmib_init
which is used to turn on specific debugging
messages (those registered using the token "mib_init").
This is one of dozens and dozens of different debug tokens that the
agent and library knows about.
Completely independent of this is a second option
-I -hr_other,hr_disk
which is used to control which
MIB modules should be activated or not. That's the bit which actually
makes a difference. And wil work whether or not you turn on debugging.
-Dmib_init is just there so you can *see* what is being skipped or
activated. Running without it is just the same - but silent.
> One thing that is becoming quite tedious is figuring which module name
> corresponds to a particular OID group.
The module name is actually the name of the file that implements
these objects. So if you find the file that you're interested in,
the name of this will (normally) be the -I token you need.
More accurately, you need to find the 'init_' routine which
*registers* the MIB object(s) you're interested in, and use that
token (without the initial "init_")
Most of these are reasonably clear and tend to appear in the same
file as the code that actually implements the objects. But there
are a few oddities - that's what happens when a system is developed
gradually rather than designed from the start.
Dave
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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