Remstats Home


  About remstats
  architecture
  Release Notes
  FAQ
  Conventions
  Prerequisites
  Installation
  Configuration
      access
      alerts
      alert-destination-map
      alert-template-map
      alert-templates
      archives
      availability
      colors
      customgraphs
      dbi-connects
      dbi-selects
      environment
      general
      groups
      hosts
      host templates
      html
      links
      ntops
      oids
      pages
      page-templates
      remotepings
      run
      run-stages
      rrds
      scripts
      times
      tools
      views
      view templates
  Configuration Tools
  Servers
  Collectors
  Updater
  Monitors
  pagemakers
  run-remstats2
  CGIs
  troubleshooting
  do-traceroutes
  Miscellany
  Thank-you
  Index


  Live Data

  Remstats was written by
  Thomas Erskine at the
  CRC in Canada and now
  at SourceWorks.

[Top] [Prev] [Next]

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.


[Top] [Remstats] [SourceWorks] [RRDtool] [SourceForge]
Last updated Fri Sep 5 07:34:10 UTC 2003 by <terskine@users.sourceforge.net>.