From: Peter Stamfest Date: Sat, 8 Mar 2014 10:20:54 +0000 (+0100) Subject: improved rrdmodify documentation X-Git-Tag: v1.5.0-rc1~120^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=87b04f355f3c1673acd024be26a4aece2e1f2d28;p=thirdparty%2Frrdtool-1.x.git improved rrdmodify documentation --- diff --git a/doc/rrdmodify.pod b/doc/rrdmodify.pod index 96e1648c..5e1efe81 100644 --- a/doc/rrdmodify.pod +++ b/doc/rrdmodify.pod @@ -4,18 +4,50 @@ rrdmodify - Change the data source structure of an RRD =head1 SYNOPSIS -B {B} I I +B {B} S<[-d
]> S<[-s ]> +I I S<[ BI | BI ... ]> =head1 DESCRIPTION The B function copies an RRD file I to -I, possible removing or adding data sources on the -fly. When I and I denote the same file, -this is (almost) identical to an in-place modification. +I, possible removing or adding data sources and +round-robin archives (RRAs) on the fly. When I and +I denote the same file, this is (almost) identical to an +in-place modification. =over 8 +=item S<-d
> + +If given, B will try to connect to the caching daemon +L at I
to flush any data not yet written to the +input RRD before reading it in. After writing the final file a FORGET +command is sent to the daemon. This will make the daemon recognize the +updated structure of the underlying RRD file. + +=item S<-s > + +Changes the step size if the RRD to newstep. There are restrictions on +the possible I that can be given, namely: The current +stepping of the I must be a multiple of the +I. This also means that currently the step size can only be +reduced. + +When giving this option, modifications to RRAs will be done AFTER +adapting the step size, so any RRA specifications referring to counts +of PDPs will allready use the new stepping. + +Note that changing the step size does NOT change the number of rows of +any existing RRA by itself: Only the stepsize and assorted other meta +values get changed (namely the PDP count of RRAs and possibly some CDP +information). + +For a reduced step size to make sense in practice, it is usually a +good idea to add one or more new RRAs with a step size of 1, because +all existing RRAs will afterwards definitly have a pdp step count of +larger than one, effectively hiding the step smaller size. + =item I The name of the source B file you want to copy/modify.