My ADSL connections is handled by the Linux box, i.e. it's doing the pppoe.
I was so proud, when I got cacti + snmp working a few days ago and my first network statistics appeared. But then the graph for the ppp0 device remained blank.
My ISP disconnects me every 24 h, but I can immediately reconnect (but I get another IP address) - which might be the reason for this problem.
When I noticed that no data were collected anymore, I manually checked the interfaces reported by snmp:
Code: Select all
# snmpwalk -v 2c -c public localhost 1.3.6.1.2.1.31.1.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.5 = STRING: ppp0
IF-MIB::ifName.6 = STRING: ppp0
IF-MIB::ifName.7 = STRING: ppp0
IF-MIB::ifName.8 = STRING: ppp0
Code: Select all
# /etc/init.d/snmpd restart
Restarting network management services: snmpd.
# snmpwalk -v 2c -c public localhost 1.3.6.1.2.1.31.1.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