I trying to graph a script the returns 3 data points. The output of the script prints this "PowerTotal:1559,PowerMTU1:1022,PowerMTU2:537"
I see see in the cacti log this:
04/28/2010 10:45:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/localhost/htdocs/cacti/rra/10_100_10_17_powertotal_24.rrd --template PowerTotal:PowerMTU1:PowerMTU2 12725091021022:537
But when I look at the graph the numbers dont make sense. The csv for the same time looks like this:
"2010-04-28 22:45:00","NaN","NaN","0.0000000000e+00"
Sometimes the NaN are in different places and the number is not always zero. Where is my mistake? In the graph template?
These are the directions I am following: http://docs.cacti.net/manual:087:3a_adv ... ut_methods
Thanks, Mike
graphing other input methods
Moderators: Developers, Moderators
It appears the issue is in the rrd file.
rrdtool info rra/10_100_10_17_powertotal_24.rrd
filename = "rra/10_100_10_17_powertotal_24.rrd"
rrd_version = "0003"
step = 300
last_update = 1272549303
ds[PowerTotal].type = "COUNTER"
ds[PowerTotal].minimal_heartbeat = 600
ds[PowerTotal].min = 0.0000000000e+00
ds[PowerTotal].max = NaN
ds[PowerTotal].last_ds = "2185"
ds[PowerTotal].value = NaN
ds[PowerTotal].unknown_sec = 3
The last_ds value is correct, but the value is NaN.
rrdtool info rra/10_100_10_17_powertotal_24.rrd
filename = "rra/10_100_10_17_powertotal_24.rrd"
rrd_version = "0003"
step = 300
last_update = 1272549303
ds[PowerTotal].type = "COUNTER"
ds[PowerTotal].minimal_heartbeat = 600
ds[PowerTotal].min = 0.0000000000e+00
ds[PowerTotal].max = NaN
ds[PowerTotal].last_ds = "2185"
ds[PowerTotal].value = NaN
ds[PowerTotal].unknown_sec = 3
The last_ds value is correct, but the value is NaN.
Who is online
Users browsing this forum: No registered users and 3 guests