[rrd-users] Integer instead of double values

johan thoren johan_thoren at yahoo.se
Wed Nov 12 09:37:29 CET 2008


 
I have a problem that I only get double values X.XX in my graph. 
Im storing integer values, but the values are polated in the RRD.
The result is that my integer 1 will be displayed as 0.89 when I 
dump the RRD. 
 
My RRA definition:
“RRA:MAX:0.0:3:1000”
 
My RRD definition:
“DS:sPHI:GAUGE:100:0:U DS:sPHO:GAUGE:100:0:U DS:sARI:GAUGE:100:0:U DS:sARO:GAUGE:100:0:U”
 
I have a scheduled poller to collect data. I can schedule it to poll data at any time interval between 1 and as high as needed. 
 
Any ideas as to where I have to tune the RRD to get rid of the integer to double conversion? 
 
RRD info:
rrd_version = "0003"
step = 100
last_update = 1226478859
ds[sPHI].type = "GAUGE"
ds[sPHI].minimal_heartbeat = 100
ds[sPHI].min = 0.0000000000e+00
ds[sPHI].max = 1.8760000000e+03
ds[sPHI].last_ds = "UNKN"
ds[sPHI].value = 0.0000000000e+00
ds[sPHI].unknown_sec = 0
ds[sPHO].type = "GAUGE"
ds[sPHO].minimal_heartbeat = 100
ds[sPHO].min = 0.0000000000e+00
ds[sPHO].max = 1.8760000000e+03
ds[sPHO].last_ds = "UNKN"
ds[sPHO].value = 0.0000000000e+00
ds[sPHO].unknown_sec = 0
ds[sARI].type = "GAUGE"
ds[sARI].minimal_heartbeat = 100
ds[sARI].min = 0.0000000000e+00
ds[sARI].max = 1.8760000000e+03
ds[sARI].last_ds = "UNKN"
ds[sARI].value = 0.0000000000e+00
ds[sARI].unknown_sec = 0
ds[sARO].type = "GAUGE"
ds[sARO].minimal_heartbeat = 100
ds[sARO].min = 0.0000000000e+00
ds[sARO].max = 1.8760000000e+03
ds[sARO].last_ds = "UNKN"
ds[sARO].value = 0.0000000000e+00
ds[sARO].unknown_sec = 0
rra[0].cf = "MAX"
rra[0].rows = 1000
rra[0].pdp_per_row = 3
rra[0].xff = 0.0000000000e+00
rra[0].cdp_prep[0].value = 8.9000000000e-01
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = 0.0000000000e+00
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[0].cdp_prep[2].value = 0.0000000000e+00
rra[0].cdp_prep[2].unknown_datapoints = 0
rra[0].cdp_prep[3].value = 0.0000000000e+00
rra[0].cdp_prep[3].unknown_datapoints = 0
 
Thanks
Johan Thorén 
 


      ___________________________________________________
Sök efter kärleken!
Hitta din tvillingsjäl på Yahoo! Dejting: http://ad.doubleclick.net/clk;185753627;24584539;x?http://se.meetic.yahoo.net/index.php?mtcmk=148783
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20081112/a20bae6f/attachment.html 


More information about the rrd-users mailing list