X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=doc%2Frrdcgi.pod;h=6a46ce2633bf98090c8dc83f6300ae657a338a31;hb=91725acad298d2f93a9060d9ceceeccbbe595782;hp=9089c52f76356cc4844be800d8c20c3fb9bdc108;hpb=b837c0527f117b54845242ee7626df6d88394444;p=rrdtool.git diff --git a/doc/rrdcgi.pod b/doc/rrdcgi.pod index 9089c52..6a46ce2 100644 --- a/doc/rrdcgi.pod +++ b/doc/rrdcgi.pod @@ -92,12 +92,15 @@ Analog to GETENV but for local variables =item RRD::TIME::LAST I I This gets replaced by the last modification time of the selected RRD. The -time is I-formated with the string specified in the second argument. +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-formated 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 @@ -105,13 +108,16 @@ This gets replaced by a strftime-formatted time using the format I on either I or I depending on whether I or I is specified. Both I and I 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 +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.