does not display charts with negative values

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

Moderators: Developers, Moderators

Post Reply
L0gRuS
Cacti User
Posts: 127
Joined: Thu Nov 06, 2008 7:57 am

does not display charts with negative values

Post by L0gRuS »

Good day!
I encountered a problem and can not solve it.
I have script for getting results from billing. Script give range value from 9999.99 to -9999.99
When range above zero, all graphics is works. But when i have value for example -23.11, graph dont create(
I change in Data Source Item Minimum Value to U, but it doesn't work. Also change in graph limit Lower Limit (--lower-limit) to -100, but problem repeat.
How i can fix this?

rrd tool info

Code: Select all

rrd_version = "0003"
step = 300
last_update = 1396039502
ds[bill131].type = "GAUGE"
ds[bill131].minimal_heartbeat = 600
ds[bill131].min = 0.0000000000e+00
ds[bill131].max = NaN
ds[bill131].last_ds = "-26.45"
ds[bill131].value = NaN
ds[bill131].unknown_sec = 2
rra[0].cf = "AVERAGE"
rra[0].rows = 500
rra[0].cur_row = 235
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 = 600
rra[1].cur_row = 39
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[2].cf = "AVERAGE"
rra[2].rows = 700
rra[2].cur_row = 86
rra[2].pdp_per_row = 6
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 3
rra[3].cf = "AVERAGE"
rra[3].rows = 775
rra[3].cur_row = 666
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 = 9
rra[4].cf = "AVERAGE"
rra[4].rows = 797
rra[4].cur_row = 234
rra[4].pdp_per_row = 288
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = 6.2140000000e+03
rra[4].cdp_prep[0].unknown_datapoints = 10
rra[5].cf = "MIN"
rra[5].rows = 500
rra[5].cur_row = 441
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[6].cf = "MIN"
rra[6].rows = 600
rra[6].cur_row = 310
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[7].cf = "MIN"
rra[7].rows = 700
rra[7].cur_row = 126
rra[7].pdp_per_row = 6
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 3
rra[8].cf = "MIN"
rra[8].rows = 775
rra[8].cur_row = 416
rra[8].pdp_per_row = 24
rra[8].xff = 5.0000000000e-01
rra[8].cdp_prep[0].value = 2.6000000000e+01
rra[8].cdp_prep[0].unknown_datapoints = 9
rra[9].cf = "MIN"
rra[9].rows = 797
rra[9].cur_row = 25
rra[9].pdp_per_row = 288
rra[9].xff = 5.0000000000e-01
rra[9].cdp_prep[0].value = 2.6000000000e+01
rra[9].cdp_prep[0].unknown_datapoints = 10
rra[10].cf = "MAX"
rra[10].rows = 500
rra[10].cur_row = 62
rra[10].pdp_per_row = 1
rra[10].xff = 5.0000000000e-01
rra[10].cdp_prep[0].value = NaN
rra[10].cdp_prep[0].unknown_datapoints = 0
rra[11].cf = "MAX"
rra[11].rows = 600
rra[11].cur_row = 357
rra[11].pdp_per_row = 1
rra[11].xff = 5.0000000000e-01
rra[11].cdp_prep[0].value = NaN
rra[11].cdp_prep[0].unknown_datapoints = 0
rra[12].cf = "MAX"
rra[12].rows = 700
rra[12].cur_row = 650
rra[12].pdp_per_row = 6
rra[12].xff = 5.0000000000e-01
rra[12].cdp_prep[0].value = NaN
rra[12].cdp_prep[0].unknown_datapoints = 3
rra[13].cf = "MAX"
rra[13].rows = 775
rra[13].cur_row = 399
rra[13].pdp_per_row = 24
rra[13].xff = 5.0000000000e-01
rra[13].cdp_prep[0].value = 2.6000000000e+01
rra[13].cdp_prep[0].unknown_datapoints = 9
rra[14].cf = "MAX"
rra[14].rows = 797
rra[14].cur_row = 330
rra[14].pdp_per_row = 288
rra[14].xff = 5.0000000000e-01
rra[14].cdp_prep[0].value = 2.6000000000e+01
rra[14].cdp_prep[0].unknown_datapoints = 10
rra[15].cf = "LAST"
rra[15].rows = 500
rra[15].cur_row = 128
rra[15].pdp_per_row = 1
rra[15].xff = 5.0000000000e-01
rra[15].cdp_prep[0].value = NaN
rra[15].cdp_prep[0].unknown_datapoints = 0
rra[16].cf = "LAST"
rra[16].rows = 600
rra[16].cur_row = 74
rra[16].pdp_per_row = 1
rra[16].xff = 5.0000000000e-01
rra[16].cdp_prep[0].value = NaN
rra[16].cdp_prep[0].unknown_datapoints = 0
rra[17].cf = "LAST"
rra[17].rows = 700
rra[17].cur_row = 169
rra[17].pdp_per_row = 6
rra[17].xff = 5.0000000000e-01
rra[17].cdp_prep[0].value = NaN
rra[17].cdp_prep[0].unknown_datapoints = 3
rra[18].cf = "LAST"
rra[18].rows = 775
rra[18].cur_row = 228
rra[18].pdp_per_row = 24
rra[18].xff = 5.0000000000e-01
rra[18].cdp_prep[0].value = 2.6000000000e+01
rra[18].cdp_prep[0].unknown_datapoints = 9
rra[19].cf = "LAST"
rra[19].rows = 797
rra[19].cur_row = 186
rra[19].pdp_per_row = 288
rra[19].xff = 5.0000000000e-01
rra[19].cdp_prep[0].value = 2.6000000000e+01
rra[19].cdp_prep[0].unknown_datapoints = 10
Attachments
cacti.png
cacti.png (11.3 KiB) Viewed 538 times
Cacti v.087g + PAv2.9
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest