Just started using Cacti, although the environment I'm working with has had it in place for a while. Here's the situation:
We're monitoring about 100 servers and 20 network devices using SNMP, most of the servers are Linux (Centos or Ubuntu) and most of the network devices are Cisco
We're have Cacti host templates for the Linux servers and the cisco devices
- All of the templates have interface traffic (bits/sec), interface discards, interface errors
- The Linux templates have server-specific graph templates like logged in users, disk space, etc
- The cisco templates have cisco-specific graph templates like 5sec cpu usage, 1min cpu usage, etc
The graphs for the servers all seem to work, however the graphs for the cisco devices do not. They're all filled in gray and the stats underneath each graph say that all values are NaN (not a number). Looking at the Cacti log I see that spine is having problems doing snmp queries:
Code: Select all
04/04/2014 08:04:10 PM - SPINE: Poller[0] Host[757] TH[6] DS[72823] WARNING: SNMP timeout detected [60000 ms], ignoring host '192.168.32.1'
04/04/2014 08:04:10 PM - SPINE: Poller[0] Host[757] TH[6] DS[72823] SNMP: v2: 192.168.32.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.558, value: U
04/04/2014 08:04:10 PM - SPINE: Poller[0] Host[757] TH[6] DS[72823] WARNING: SNMP timeout detected [60000 ms], ignoring host '192.168.32.1'
04/04/2014 08:04:10 PM - SPINE: Poller[0] Host[757] TH[6] DS[72823] SNMP: v2: 192.168.32.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.558, value: U
Code: Select all
snmpwalk -v2c -c mycommunity 192.168.32.1 .1.3.6.1.2.1.2.2.1.16.558
IF-MIB::ifOutOctets.558 = Counter32: 409599439
I don't know why spine is getting "U" values instead of the actual data returned by snmp responses
It seems that the SNMP timeout that I've set in Cacti (60000ms) isn't working. My manual snmpwalk response for that device was slow, it took 3-4 seconds, but it certainly not the 60000ms specified in Cacti
I've been digging through log files and the forums and can't figure out why Cacti can't get that data...
Any ideas or suggestions? The exact same problem is happening for every Cisco ASA and Catalyst switch, but it's working on every CentOS and Ubuntu server...
Thanks!