[SOLVED] Multi-output script returning NaN

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
korlaplankton
Posts: 12
Joined: Tue Nov 30, 2010 4:13 pm

[SOLVED] Multi-output script returning NaN

Post by korlaplankton »

Any hints on why ds[signal].last_ds = "-64" but ds[signal].value = NaN? Ditto for the ds[noise]

I'm guessing a template issue?

thanks for any tips,

Code: Select all

%rrdtool info /usr/local/apache2/htdocs/rra/69/669.rrd
filename = "/usr/local/apache2/htdocs/rra/69/669.rrd"
rrd_version = "0003"
step = 300
last_update = 1310682301
header_size = 3308
ds[signal].index = 0
ds[signal].type = "COUNTER"
ds[signal].minimal_heartbeat = 600
ds[signal].min = -1.0000000000e+02
ds[signal].max = 0.0000000000e+00
ds[signal].last_ds = "-64"
ds[signal].value = NaN
ds[signal].unknown_sec = 1
ds[noise].index = 1
ds[noise].type = "COUNTER"
ds[noise].minimal_heartbeat = 600
ds[noise].min = -1.0000000000e+02
ds[noise].max = 0.0000000000e+00
ds[noise].last_ds = "-96"
ds[noise].value = NaN
ds[noise].unknown_sec = 1
rra[0].cf = "AVERAGE"
rra[0].rows = 500
rra[0].cur_row = 138
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[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 600
rra[1].cur_row = 469
rra[1].pdp_per_row = 1
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = NaN
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 700
rra[2].cur_row = 91
rra[2].pdp_per_row = 6
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 0.0000000000e+00
rra[2].cdp_prep[0].unknown_datapoints = 5
rra[2].cdp_prep[1].value = 0.0000000000e+00
rra[2].cdp_prep[1].unknown_datapoints = 5
rra[3].cf = "AVERAGE"
rra[3].rows = 775
rra[3].cur_row = 66
rra[3].pdp_per_row = 24
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 0.0000000000e+00
rra[3].cdp_prep[0].unknown_datapoints = 5
rra[3].cdp_prep[1].value = 0.0000000000e+00
rra[3].cdp_prep[1].unknown_datapoints = 5
rra[4].cf = "AVERAGE"
rra[4].rows = 797
rra[4].cur_row = 642
rra[4].pdp_per_row = 288
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 269
rra[4].cdp_prep[1].value = NaN
rra[4].cdp_prep[1].unknown_datapoints = 269
rra[5].cf = "MAX"
rra[5].rows = 500
rra[5].cur_row = 482
rra[5].pdp_per_row = 1
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[1].value = NaN
rra[5].cdp_prep[1].unknown_datapoints = 0
rra[6].cf = "MAX"
rra[6].rows = 600
rra[6].cur_row = 431
rra[6].pdp_per_row = 1
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[6].cdp_prep[1].value = NaN
rra[6].cdp_prep[1].unknown_datapoints = 0
rra[7].cf = "MAX"
rra[7].rows = 700
rra[7].cur_row = 173
rra[7].pdp_per_row = 6
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = -inf
rra[7].cdp_prep[0].unknown_datapoints = 5
rra[7].cdp_prep[1].value = -inf
rra[7].cdp_prep[1].unknown_datapoints = 5
rra[8].cf = "MAX"
rra[8].rows = 775
rra[8].cur_row = 192
rra[8].pdp_per_row = 24
rra[8].xff = 5.0000000000e-01
rra[8].cdp_prep[0].value = -inf
rra[8].cdp_prep[0].unknown_datapoints = 5
rra[8].cdp_prep[1].value = -inf
rra[8].cdp_prep[1].unknown_datapoints = 5
rra[9].cf = "MAX"
rra[9].rows = 797
rra[9].cur_row = 307
rra[9].pdp_per_row = 288
rra[9].xff = 5.0000000000e-01
rra[9].cdp_prep[0].value = NaN
rra[9].cdp_prep[0].unknown_datapoints = 269
rra[9].cdp_prep[1].value = NaN
rra[9].cdp_prep[1].unknown_datapoints = 269
Last edited by korlaplankton on Fri Jul 15, 2011 11:20 am, edited 1 time in total.
korlaplankton
Posts: 12
Joined: Tue Nov 30, 2010 4:13 pm

Re: Multi-output script returning NaN

Post by korlaplankton »

Solved by recreating graph and data templates.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests