I'm using net-snmp 188.8.131.52 on Debian Sarge, to get traffic statistics into the current version of Cacti.
The Linux box handles my ppp connection (pppoe, ADSL). My ISP reconnects me every 24 h and rppppoe reconnects immediately, but Cacti stops recording data. After some searching I found that every reconnect creates an additional entry for ppp0 in the snmp table: # snmpwalk -v 2c -c public localhost 184.108.40.206.220.127.116.11.1.1.1 IF-MIB::ifName.1 = STRING: lo IF-MIB::ifName.2 = STRING: eth0 IF-MIB::ifName.3 = STRING: eth1 IF-MIB::ifName.4 = STRING: sit0 IF-MIB::ifName.8 = STRING: ppp0 IF-MIB::ifName.11 = STRING: ppp0 The interfaces are correctly marked up and down: # snmpwalk -v 2c -c public localhost 18.104.22.168.22.214.171.124.1.8.8 IF-MIB::ifOperStatus.8 = INTEGER: down(2) # snmpwalk -v 2c -c public localhost 126.96.36.199.188.8.131.52.1.8.11 IF-MIB::ifOperStatus.11 = INTEGER: up(1) As I have to reconnect every day, the table fills up. As a workaround I restart snmpd after the reconnect. This cleans the table and cacti finds the correct ppp0 device to record data from. I wonder, is this bug or a feature? -- Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat, DSL-Flatrate für nur 4,99 Euro/Monat* http://www.gmx.net/de/go/dsl ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Net-snmp-users mailing list Netemail@example.com Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users