On Wed, Feb 4, 2015 at 8:09 PM, David Hauck <dav...@netacquire.com> wrote:

> Hi,
>
> The 'configure' script has the following text:
>
> " --with-out-mib-modules="list"   Compile without these mib modules.
>
>   Default mib modules compiled into the agent (which can be removed):
>
>     mibII                  support for the mib-II tree.
>     snmpv3mibs             support for the snmpv3 mib modules.
>     ucd_snmp               UCD-SNMP-MIB specific extensions.
>     agent_mibs             NET-SNMP-AGENT-MIB extensions
>     agentx                 AgentX support (see below)
>     notification           mibs supporting specification of trap
> destinations.
>     target                 Support for the SNMP WGs TARGET-MIB.
>     utilities              general agent configuration utilities.
>     disman/event           support for the DISMAN-EVENT-MIB
>                              (supports self monitoring and notification
>                               delivery when error conditions are found)
>     disman/schedule        support for the DISMAN-SCHEDULE-MIB
>                              (trigger SET requests at specified times)
>     host                   host resources mib support.
>                              (only on major supported platforms)"
>
> I believe the references to "agent_mibs" and "ucd_snmp" are incorrect and
> that these should be "agent" and "ucd-snmp" respectively. This tripped me
> up when I attempted to exclude the said modules and saw that resulting
> walks seemed to include them; changing the strings as above resulted in the
> correct exclusion during subsequent walks.
>

I ran:

./configure --with-out-mib-modules="ucd_snmp agent_mibs" --with-defaults

and got no ucd_snmp or agent_mibs.  E.g., the configuration summary
contained:

  Agent MIB code:            default_modules =>  snmpv3mibs mibII
notification notification-log-mib target agentx disman/event
disman/schedule utilities host

If I run it again, with no "--with-out-mib-modules" argument, the
configuration summary contained:

  Agent MIB code:            default_modules =>  snmpv3mibs mibII ucd_snmp
notification notification-log-mib target agent_mibs agentx disman/event
disman/schedule utilities host

Can you post what your configuration summary contains after running
"./configure --with-out-mib-modules="ucd_snmp agent_mibs""?  Also, what
net-snmp version are you using?

Thanks,
  Bill
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to