I'm working on getting some graphs running for our new spam filter stats, but I'm not getting any data points on the graph or any errors in the log that would indicate what I've done wrong. I'm not a Cacti pro by any means, I've basically tried to replicate all of the configuration of the ucd/net Load Average graphs, so I'll list out what I've done and hopefully someone can point out where I've gone wrong.
First, a simple snmpwalk from the Cacti server against the OID I'm trying to graph, 5min average scan time in ms x1000:
Code: Select all
# snmpwalk -v 2c -c public canit03 .1.3.6.1.4.1.10055.1.2.1.4.3
SNMPv2-SMI::enterprises.10055.1.2.1.4.3 = INTEGER: 355358
Looks good, so I created a Data Template using the "Get SNMP Data" method, changing the default values:
- Maximum Value: 60000000 [60s]
- Type: GAUGE
- OID: .1.3.6.1.4.1.10055.1.2.1.4.3
Now a quick graph template started with the default values, added a Graph Template Item:
- selected my new Data Source
- picked a color
- Item Type: AREA
- Consolidation Function: AVERAGE
- CPRINT Type: Normal
- Text Format: 5min avg
Now I went to an existing device which has other working graphs pulled from SNMP, added the new Graph Template, clicked 'Create Graphs for this Host', checked the box, hit save, waited for the graph to appear.
Blank. Gave it a few more minutes, blank. Gave it all weekend, still blank. [see attachment]
As well, an rrdtool dump of the rrd file shows every row contains NaN. Any idea what I'm doing wrong?