Stale interface info from snmpd (how to avoid caching?)
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I upgraded from snmpd 5.1.2 (Debian Sarge) to snmpd 5.2.1.2 (Debian Etch). I noticed that now snmpd caches the interfaces descriptions, so if I have some interfaces that goes down and up again (like a ppp connection or some OpenVPN tunnels), I can find stale information from snmpwalk: # snmpwalk -v 1 -c public 127.0.0.1 | grep ifName IF-MIB::ifName.1 = STRING: lo IF-MIB::ifName.2 = STRING: eth0 IF-MIB::ifName.3 = STRING: eth1 IF-MIB::ifName.4 = STRING: ppp0 IF-MIB::ifName.5 = STRING: tun1 IF-MIB::ifName.11 = STRING: ppp0 IF-MIB::ifName.12 = STRING: tun2 IF-MIB::ifName.14 = STRING: tun2 IF-MIB::ifName.15 = STRING: tun1 Here ifName.4, ifName.5 and ifName.12 are stale (no longer existing) entries. This also breaks MRTG that remains stuck to the old entry. Is there a configuration option or someting alike that prevent this "feature"? -- Niccolo Rigacci Firenze - Italy ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ 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