[rrd-users] rrdtool tume syntax

Glen Gunselman ggunselm at emporia.edu
Fri Sep 10 18:13:18 CEST 2010


 
What it the syntax for setting --maximum using tune?  Based on the output of rrdtool info I thought it would be:
 
rrdtool tune /var/opt/csw/orca/rrd/orcallator/o_beaker/gauge_aggr1Ipkt_per_s.rrd --maximum Orca19990222.max:2.0000000000e+05
 
This changes max to NaN.  I tried several variations but always get NaN
 
 
Here's the before:
 
rrdtool info /var/opt/csw/orca/rrd/orcallator/o_beaker/gauge_aggr1Ipkt_per_s.rrd
filename = "/var/opt/csw/orca/rrd/orcallator/o_beaker/gauge_aggr1Ipkt_per_s.rrd"
rrd_version = "0003"
step = 300
last_update = 1284129000
header_size = 1148
ds[Orca19990222].index = 0
ds[Orca19990222].type = "GAUGE"
ds[Orca19990222].minimal_heartbeat = 600
ds[Orca19990222].min = 0.0000000000e+00
ds[Orca19990222].max = 1.0000000000e+05
ds[Orca19990222].last_ds = "129044.613"
ds[Orca19990222].value = NaN
ds[Orca19990222].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 2400
rra[0].cur_row = 213
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 = 1488
rra[1].cur_row = 644
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 0.0000000000e+00
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 1200
rra[2].cur_row = 121
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 0.0000000000e+00
rra[2].cdp_prep[0].unknown_datapoints = 6
rra[3].cf = "AVERAGE"
rra[3].rows = 1098
rra[3].cur_row = 938
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 4.1809677170e+06
rra[3].cdp_prep[0].unknown_datapoints = 40
 
Here's the after:
 
rrdtool info /var/opt/csw/orca/rrd/orcallator/o_beaker/gauge_aggr1Ipkt_per_s.rrd
filename = "/var/opt/csw/orca/rrd/orcallator/o_beaker/gauge_aggr1Ipkt_per_s.rrd"
rrd_version = "0003"
step = 300
last_update = 1284134400
header_size = 1148
ds[Orca19990222].index = 0
ds[Orca19990222].type = "GAUGE"
ds[Orca19990222].minimal_heartbeat = 600
ds[Orca19990222].min = 0.0000000000e+00
ds[Orca19990222].max = NaN
ds[Orca19990222].last_ds = "3.193"
ds[Orca19990222].value = 0.0000000000e+00
ds[Orca19990222].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 2400
rra[0].cur_row = 231
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 = 1488
rra[1].cur_row = 647
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 0.0000000000e+00
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 1200
rra[2].cur_row = 122
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 0.0000000000e+00
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 1098
rra[3].cur_row = 938
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 4.5637340190e+06
rra[3].cdp_prep[0].unknown_datapoints = 46
 
RRDtool is:
 
RRDtool 1.4.3  Copyright 1997-2009 by Tobias Oetiker <tobi at oetiker.ch>
               Compiled Jun 25 2010 16:11:45
 
 
Thanks,
 
 
Glen Gunselman
Systems Software Specialist
TCS
Emporia State University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20100910/aa222f3d/attachment-0001.htm 


More information about the rrd-users mailing list