On 20 March 2012 15:18, Robert Story <rst...@freesnmp.com> wrote:
> On Tue, 20 Mar 2012 09:02:53 +0000 Dave wrote:
> DS>     Comparing the list of MIBs shipped with the distribution, versus
> DS> the list of MIBs actually installed - the following are currently omitted:
> DS>
> DS> DISMAN-{EXPRESSION,NSLOOKUP,PING,TRACEROUTE}-MIB.txt
> DS> LM-SENSORS-MIB.txt
> DS> MTA-MIB.txt
> DS> NET-SNMP-{MONITOR,PERIODIC-NOTIFY,SYSTEM,VACM}-MIB.txt
> DS> NETWORK-SERVICES-MIB.txt
> DS> SNMP-{TLS-TM,TSM}-MIB.txt
> DS> UCD-IPFILTER-MIB.txt
> DS>
> DS> Qn:  Should some/all of these be installed automatically?
>
> They should be installed when the associated mib is configured in. e.g. if you
> include the TSM stuff,
>
> agent/mibgroup/tsm-mib.h:
>  config_require(tsm-mib/snmpTsmStats)
>  config_require(tsm-mib/snmpTsmConfigurationUsePrefix)
>  config_add_mib(SNMP-TSM-MIB)
>
> This should result in the SNMP-TSM-MIB being installed.

No - that results in the SNMP-TSM-MIB being added to the
list of MIBs to load automatically.   I.e. it's changing the
default configuration of the library.

It doesn't touch the man/Makefile setup, which is what
actually installs the MIB files into the correct location.

There are a significant number of MIB files which aren't
configured into the agent, and hence not loaded automatically.
But they are still *installed* by default, so that they can
be loaded if required.

metalliqaz's original complaint was that the UCD-IPFILTER-MIB
file wasn't being copied into the 'mibs' directory, so that it
couldn't be loaded at all.


> It may well be that not all of the headers add the appropriate,
> which is a trivial bug to fix if we know about it..

  Given that this implementation (ipf-mod.pl) is a perl extension,
there isn't a header file at all, so the 'config_add_mib' mechanism
simply isn't relevant here.

Dave

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to