burn wrote:noname wrote:
Then, if you set "0" (instead blank) to maximum value in data template,
what do you see in RRD (newly created)?
(And is its graph OK?)
same as with "U":
Code: Select all
/usr/bin/rrdtool create \
/usr/share/cacti/rra/bgp_ds_2130.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:10000000 \
DS:traffic_out:COUNTER:600:0:10000000 \
DS:ds:GAUGE:600:0:10000000 \
RRA:AVERAGE:0.5:1:350000 \
It's odd.. Where "10000000" comes from?
UPDATE: "
rrd_maximum" seems to restrict that parameter.
(I never thought about this..)
If you delete rrd_maximum from "Suggested Values" in data query,
you can specify larger value than 10000000.
And, if you set "0", then the maximum value of RRD files will be "U".
NOTICE: Probably due to precision of variables or something, you cannot set so large (long?) value in data template from GUI.
When I set "1000000000000000000" (1.0e+18), generated RRD file shows "ds[traffic_in].max = 1.0000000000e+17".
I think, in data template it's better to set "0" (=U) instead of large value.