View Templates
View templates give you complete control over page layout in a view. They are
complete HTML pages with embedded magic cookies, which are substituted for
during view generation (by view-writer). The resulting page will
be an rrdcgi
CGI script. The magic cookies are:
-
<VIEW::GRAPH hostname rrdname graphname [graphtime]> -
This inserts a graph definition for
rrdcgi
. The graphtime is from the
times config-file, and is optional.
-
<VIEW::CUSTOMGRAPH customgraphname [graphtime]> - This inserts a customgraph
definition for
rrdcgi
. The graphtime is from the
times config-file, and is optional.
-
<VIEW::INCLUDE filename> - This inserts the contents of the named file when
the view-page is displayed. (Using the
rrdcgi
cookie <RRD::INCLUDE filename>.)
-
<VIEW::HEADER title here> - Inserts a standard remstats header.
-
<VIEW::FOOTER> - Inserts a standard remstats footer.
-
<VIEW::STATUS host status-file> - inserts the contents of the named status-file when
the view-page is displayed. (Using the
rrdcgi
cookie <RRD::INCLUDE filename>.)
You can also include rrdcgi
magic cookies.
Last updated Tue Apr 16 19:09:19 PDT 2002 by <thomas.erskine@sourceworks.com>.
[