Hi,
I am new to cacti, and have spend a couple of days troubleshooting this problem.
I have installed version 0.87a on Centos 5. I am using the SNMP - Generic OID data Template to monitor bandwidth usage for clients off a particular router by querying the number of bytes that have 'gone' towards the client. Basically I've defined my RRD to be a COUNTER.
Now the strange thing is that it works nicely for one client OID, but for two others it fails at times with a NaN entry. The cacti.log clearly shows the data being fetched successfully and the poller appears to be updating the appropriate rrdfile. But when I do a rrdtool fetch soon after the entry appears in the log it doesn't sometimes register in the RRA. (But when I run the same update statement from command line, it appears in the RRA !!!)
I have compared the DS options, and can't see any different (I have pasted the rrdtool info for the working and non-working rrd below). Both poller and cron are set at 5 mins.
Any thoughts ?
Thanks,
Sanjeev
---
Non-working RRD
***************
filename = "512k_router_snmp_oid_30.rrd"
rrd_version = "0003"
step = 300
last_update = 1213816203
ds[snmp_oid].type = "COUNTER"
ds[snmp_oid].minimal_heartbeat = 600
ds[snmp_oid].min = 0.0000000000e+00
ds[snmp_oid].max = 5.3687091200e+10
ds[snmp_oid].last_ds = "3758614761"
ds[snmp_oid].value = 5.8340820000e+04
ds[snmp_oid].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 4.6352237844e+04
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 4.0311003978e+05
rra[2].cdp_prep[0].unknown_datapoints = 3
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 1.0638950373e+07
rra[3].cdp_prep[0].unknown_datapoints = 133
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = 2.9725880800e+04
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[6].cf = "MAX"
rra[6].rows = 775
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = 6.4871771667e+04
rra[6].cdp_prep[0].unknown_datapoints = 3
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = 1.6552279690e+05
rra[7].cdp_prep[0].unknown_datapoints = 133
Working RRD
***********
filename = "512k_router_snmp_oid_28.rrd"
rrd_version = "0003"
step = 300
last_update = 1213818902
ds[snmp_oid].type = "COUNTER"
ds[snmp_oid].minimal_heartbeat = 600
ds[snmp_oid].min = 0.0000000000e+00
ds[snmp_oid].max = 5.3687091200e+10
ds[snmp_oid].last_ds = "37193846"
ds[snmp_oid].value = 1.3323366000e+05
ds[snmp_oid].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 3.4516474726e+05
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 1.6157246376e+06
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 1.4593031411e+07
rra[3].cdp_prep[0].unknown_datapoints = 28
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = 8.3289954694e+04
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[6].cf = "MAX"
rra[6].rows = 775
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = 9.4861910667e+04
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = 1.1344289267e+05
rra[7].cdp_prep[0].unknown_datapoints = 28
RRD not being updated
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 1 guest