I've got a problem with the internal SNMP-Interface-Get-thing. Cacti monitors (well, should...) several network-interfaces of several servers. When I click on 'View gathered Interfaces', all ifs show up correctly. When I do an snmpwalk <server> <community> interfaces, all numbers look correct, too. But then, cacti only gets the correct numbers from one of the interfaces: eth1 on a server makes a very nice graph, all other graphs are empty. When I ask rrdtool 'he, whats in da db?', he gives me some nice numbers for the working one (eth1), and many 'nan's for the others (eth0 and all interfaces on other servers i monitor).
snmpwalk says this:
Code: Select all
interfaces.ifTable.ifEntry.ifDescr.1 = lo
interfaces.ifTable.ifEntry.ifDescr.2 = eth0
interfaces.ifTable.ifEntry.ifDescr.3 = eth1
interfaces.ifTable.ifEntry.ifType.1 = softwareLoopback(24)
interfaces.ifTable.ifEntry.ifType.2 = fastEther(62)
interfaces.ifTable.ifEntry.ifType.3 = fastEther(62)
interfaces.ifTable.ifEntry.ifSpeed.1 = Gauge32: 10000000
interfaces.ifTable.ifEntry.ifSpeed.2 = Gauge32: 100000000
interfaces.ifTable.ifEntry.ifSpeed.3 = Gauge32: 100000000
interfaces.ifTable.ifEntry.ifInOctets.1 = Counter32: 262381270
interfaces.ifTable.ifEntry.ifInOctets.2 = Counter32: 3371495023
interfaces.ifTable.ifEntry.ifInOctets.3 = Counter32: 4003053532
interfaces.ifTable.ifEntry.ifInUcastPkts.1 = Counter32: 355132
interfaces.ifTable.ifEntry.ifInUcastPkts.2 = Counter32: 89006186
interfaces.ifTable.ifEntry.ifInUcastPkts.3 = Counter32: 24215835
interfaces.ifTable.ifEntry.ifOutOctets.1 = Counter32: 262381270
interfaces.ifTable.ifEntry.ifOutOctets.2 = Counter32: 1716425535
interfaces.ifTable.ifEntry.ifOutOctets.3 = Counter32: 1202185968
interfaces.ifTable.ifEntry.ifOutUcastPkts.1 = Counter32: 355132
interfaces.ifTable.ifEntry.ifOutUcastPkts.2 = Counter32: 220768919
interfaces.ifTable.ifEntry.ifOutUcastPkts.3 = Counter32: 20984171
Any help would really be appreciated. On another server monitoring himself, everything works really fine.
btw: cacti is great!
Greetings, Lukas