suppressing MIB module dynamically
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
We're using V5.3.2.2 on RHEL 5.4, and there's still bug 2081243. An snmpwalk
can freeze after:
...
IP-MIB::ipv6ScopeZoneIndexB.8 = Gauge32: 0
IP-MIB::ipv6ScopeZoneIndexC.7 = Gauge32: 0
IP-MIB::ipv6ScopeZoneIndexC.8 = Gauge32: 0
IP-MIB::ipv6ScopeZoneIndexD.7 = Gauge32: 0
IP-MIB::ipv6ScopeZoneIndexD.8 = Gauge32: 0
The snmpd.log fills up with:
error on subcontainer 'dr_index' insert (-1)
error on subcontainer 'dr_addr' insert (-1)
This is a simple enough bug to fix -- at least to remove the
endless loop:
--- agent/mibgroup/ip-mib/data_access/defaultrouter_linux.c.bak 2009-11-12 17:44:31.000000000 -0500
+++ agent/mibgroup/ip-mib/data_access/defaultrouter_linux.c 2009-11-12 17:44:33.000000000 -0500
@@ -294,6 +294,7 @@
"error with defaultrouter_entry: "
"insert into container failed.\n"));
netsnmp_access_defaultrouter_entry_free(entry);
+ nlmhp = NLMSG_NEXT(nlmhp, count);
continue;
}
}
But I don't think it's been ported back to 5.3.X, so I'm looking for
an easy configuration change or alternate snmpd invocation that would
cover customers (w/o reshipping a fixed net-snmp).
My configure options include, among many other things:
ip-mib/ipDefaultRouterTable/ipDefaultRouterTable
Is there a way to just suppress on the snmpd command line support
for this MIB module?
TIA!
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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