However, only the last seven are correctly showing values. The first one doesn't.
After much struggle, I found this tutorial on debugging nan's, which was excelent to freeze my random attempts to correct the issue and bring deeper understanding on how Cacti and rrd works.
I found one issue, which explains why my graph fails to show one data item: the rrdtool update statement does not reference the first data item in the data source:
Code: Select all
02/07/2015 05:09:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/lib/cacti/rra/humax_hg100r2_corr1_197.rrd --template corr2:corr3:corr4:corr5:corr6:corr7:corr8 1423336141:159:121:96:95:87:90:98
Code: Select all
02/07/2015 04:37:02 PM - SPINE: Poller[0] Host[2] TH[1] DS[197] SCRIPT: /usr/share/cacti/site/scripts/humax_down_correctables, output: corr1:81 corr2:159 corr3:121 corr4:96 corr5:95 corr6:87 corr7:90 corr8:98
Code: Select all
02/07/2015 04:20:01 PM - SPINE: Poller[0] DEVDBG: SQL:'INSERT INTO poller_output (local_data_id, rrd_name, time, output) VALUES (197,'','2015-02-07 16:20:01','corr1:81 corr2:159 corr3:121 corr4:96 corr5:95 corr6:87 corr7:90 corr8:98') ON DUPLICATE KEY UPDATE output=VALUES(output)'
Code: Select all
rrd_version = "0003"
step = 60
last_update = 1423337222
header_size = 9680
ds[corr1].index = 0
ds[corr1].type = "GAUGE"
ds[corr1].minimal_heartbeat = 120
ds[corr1].min = NaN
ds[corr1].max = NaN
ds[corr1].last_ds = "U"
ds[corr1].value = NaN
ds[corr1].unknown_sec = 2
ds[corr2].index = 1
ds[corr2].type = "GAUGE"
ds[corr2].minimal_heartbeat = 120
ds[corr2].min = NaN
ds[corr2].max = NaN
ds[corr2].last_ds = "159"
ds[corr2].value = 3,1800000000e+02
ds[corr2].unknown_sec = 0
ds[corr3].index = 2
ds[corr3].type = "GAUGE"
ds[corr3].minimal_heartbeat = 120
ds[corr3].min = NaN
ds[corr3].max = NaN
ds[corr3].last_ds = "121"
ds[corr3].value = 2,4200000000e+02
ds[corr3].unknown_sec = 0
ds[corr4].index = 3
ds[corr4].type = "GAUGE"
ds[corr4].minimal_heartbeat = 120
ds[corr4].min = NaN
ds[corr4].max = NaN
ds[corr4].last_ds = "96"
ds[corr4].value = 1,9200000000e+02
ds[corr4].unknown_sec = 0
ds[corr5].index = 4
ds[corr5].type = "GAUGE"
ds[corr5].minimal_heartbeat = 120
ds[corr5].min = NaN
ds[corr5].max = NaN
ds[corr5].last_ds = "95"
ds[corr5].value = 1,9000000000e+02
ds[corr5].unknown_sec = 0
ds[corr6].index = 5
ds[corr6].type = "GAUGE"
ds[corr6].minimal_heartbeat = 120
ds[corr6].min = NaN
ds[corr6].max = NaN
ds[corr6].last_ds = "87"
ds[corr6].value = 1,7400000000e+02
ds[corr6].unknown_sec = 0
ds[corr7].index = 6
ds[corr7].type = "GAUGE"
ds[corr7].minimal_heartbeat = 120
ds[corr7].min = NaN
ds[corr7].max = NaN
ds[corr7].last_ds = "90"
ds[corr7].value = 1,8000000000e+02
ds[corr7].unknown_sec = 0
ds[corr8].index = 7
ds[corr8].type = "GAUGE"
ds[corr8].minimal_heartbeat = 120
ds[corr8].min = NaN
ds[corr8].max = NaN
ds[corr8].last_ds = "98"
ds[corr8].value = 1,9600000000e+02
ds[corr8].unknown_sec = 0