|
From: Zack L. <zac...@ho...> - 2011-04-26 18:50:04
|
Thanks Bill. I wasn't even aware that they had been obsoleted. I just had a requirement to have our instance of snmpd return both IPV6-MIB and IPV6-ICMP-MIB. Now that I know this I can go back to the group that gave me the requirement and inform them. I do see that there is IPv6 info being returned to me in IP-MIB, which is good. > Date: Mon, 25 Apr 2011 14:25:42 -0400 > Subject: Re: Is it possible to enable IPv6 support without the pthread library? > > On Sat, Apr 23, 2011 at 5:28 AM, Dave Shield wrote: > > On 21 April 2011 21:49, Zack Little wrote: > >> The only thing I don't understand now is why IPV6-ICMP-MIB isn't being > >> returned. I enabled it and IPV6-MIB on the "--with-mibs" line, but snmpd is > >> only returning IPV6-MIB. > > > > The '--with-mibs' configure option is used to control which MIB files > > are loaded by default by the MIB parser. I.e. which object names are > > understood by the client tools. > > It has no effect on what code is included within the agent - i.e. > > what MIB values the agent will report. > > > > To control this, you need to use the configure option '--with-mib-modules' > > > > However, following a quick scan of the code, I'm not at all sure > > that the Net-SNMP agent implements this particular MIB. > > There's some code for it within 'mibII/ipv6.c', but it's never > > actually registered. > > And there doesn't seem to be any mention of these objects in the newer > > re-writes. > > So my suspicion is that nobody has ever written the necessary code > > to support this MIB. Which is why the agent doesn't report this information. > > Note that the IPv6-MIB was obsoleted in 2006, so if anyone is going to > put effort into anything, it might be best to focus on the > version-independent IP-MIB (RFC4293). > > Bill |