Remstats Home


  About remstats
  Release Notes
  FAQ
  Conventions
  Prerequisites
  Installation
  Configuration
  Configuration Tools
  Servers
  Collectors
  Updater
  Monitors
  run-remstats
      check-config
      pagemakers
          graph-writer
          snmpif-setspeed
          datapage-alert-writer
          datapage-interfaces
          datapage-inventory
          datapage-status
          view-writer
      remstats-monitor
  CGIs
  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]

graph-writer

Usage:

Can't locate RRDs.pm in @INC (@INC contains: . /usr/lib/remstats/lib /usr/lib/perl5/ /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl) at ../graph-writer line 28.
BEGIN failed--compilation aborted at ../graph-writer line 28.

Description:

This is the main remstats pagemaker. It makes the web-pages with the graphs and other pages to link them together and organize them. There are three kinds of page that it makes:

  • Indices - The main three indices are the Overall Index, the Ping Index and the Quick Index. Each of these shows all the hosts being monitored, grouped by the group you assigned them to. The Overall Index shows a section for each host, with a link to all of the graphs for that host. The Ping Index shows a small graph of the last two hours of ping data for that host, for each host, with the graph background specially coloured for hosts which aren't reachable. The Quick Index shows, for each host: a link, a status indicator and optionally a link to alert.cgi for alerts for that host.

    There is also the Custom Index to show links to all the customgraphs.

  • Host Pages - For each host, there is a Host Page which shows some information about the host and all the day graphs for that host. The graphs are all links to ...

  • Graph Pages - Each graph is also available in various timespans, depending on the times that you specified in the rrd definition which caused the generation of that graph.

Graph-writer is the replacement for both grapher and html-writer. Before version 0.10.0, grapher would make new graphs, as part of the update run, and html-writer would re-write the html pages. Now, graph-writer makes a CGI script for each web-page, using rrdcgi as its interpreter. Rrdcgi simply spits out the page as it was written with "magic cookies" replaced by <IMG SRC...> tags and makes sure that there is a recent version of the graph file. Much better than generating all the graphs every five minutes and have most of them never get looked at.


Last updated Thu Mar 17 16:59:06 UTC 2005 by <thomas.erskine@sourceworks.com>.
[SourceWorks] [Top] [RRDtool]