X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdcgi.pod;h=e999fea0966071d0e3f04fb2129c22de9ba34ea2;hb=09fa22ce43438f77625e759d7b29d8ae6bc56084;hp=66260acc238a2a3aa52583b12b16bd9e836ef76b;hpb=d828f3eccac8dbad7bfc14812e406377669baaa4;p=rrdtool.git diff --git a/doc/rrdcgi.pod b/doc/rrdcgi.pod index 66260ac..e999fea 100644 --- a/doc/rrdcgi.pod +++ b/doc/rrdcgi.pod @@ -1,13 +1,10 @@ =head1 NAME -rrdcgi - create web pages containing RRD graphs based on templates - -=for html
PDF version.
+rrdcgi - Create web pages containing RRD graphs based on templates =head1 SYNOPSIS -#!/path/to/B -S<[B<--filter>]> +C<#!/path/to/>B S<[B<--filter>]> =head1 DESCRIPTION @@ -96,8 +93,11 @@ time is I-formatted with the string specified in the second argument. =item RRD::TIME::NOW I -This gets replaced by the current time of day. The -time is I-formatted with the string specified in the argument. +This gets replaced by the current time of day. The time is +I-formatted with the string specified in the argument. + +Note that if you return : from your strftime format you may have to escape +them using \ if the time is to be used as an argument to a GRAPH command. =item RRD::TIME::STRFTIME I I I I @@ -108,10 +108,13 @@ must be supplied as either could be relative to the other. This is intended to allow pretty titles on graphs with times that are easier for non RRDtool folks to figure out than "-2weeks". +Note that if you return : from your strftime format you may have to escape +them using \ if the time is to be used as an argument to a GRAPH command. + =item RRD::GRAPH I This tag creates the RRD graph defined in its argument and then gets -replaced by an appropriate EIMG tag referring to the graph. +replaced by an appropriate EIMGE tag referring to the graph. The B<--lazy> option in RRD graph can be used to make sure that graphs are only regenerated when they are out of date. The arguments to the B tag work as described in the B manual page.