More infos ...Size of an RRDTool database is determined at creation time.
http://people.ee.ethz.ch/~oetiker/webto ... nners.html
Moderators: Developers, Moderators
More infos ...Size of an RRDTool database is determined at creation time.
You automate resizing in this way:Anonymous wrote:[...]
Is there a script out there? that can automate doing alot of resizing?
[...]
Code: Select all
for file in *.rrd; rrdtool resize $file <some other options you want>; done
#1 the size is incorrect, there's an extra 0Resize the already created RRAs with the command rrdtool resize. See RRDtool documentation http://people.ee.ethz.ch/~oetiker/webto ... esize.html for more information. If you previously created rra with the Cacti default value (600), use the following command to resize them at 17280.
for f in `find . -name \*\.rrd`
do
rrdtool resize $f GROW 166800
done
Code: Select all
ERROR: start time: 'start' or 'end' MUST be followed by +|- offset
Code: Select all
$start_month = date("m");
Code: Select all
$start_month = date("m", strtotime("-1 day"));
Code: Select all
$start_year = date("Y", strtotime("-1 day"));
$start_month = date("m", strtotime("-1 day"));
$start_day = date("d", strtotime("-1 day"));
Users browsing this forum: No registered users and 0 guests