Remstats Home


  About remstats
  architecture
  Release Notes
  FAQ
  Conventions
  Prerequisites
  Installation
  Configuration
  Configuration Tools
  Servers
  Collectors
  Updater
  Monitors
      alerter
  pagemakers
  run-remstats2
  CGIs
  troubleshooting
  do-traceroutes
  Miscellany
      alerter
      availability-report
      convert-config-links
      files
      functions
      genindex
      genmenu
      htmlpod
      lockfile
      podhtml
      podlatex
      podpdf
      remstats-backup
      remstats-cleanup
      remstats-version
      rename-host
      rrd-report
      rt-updater
  Thank-you
  Index


  Live Data

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

[Top] [Prev] [Next]

rt-updater

Usage:

Can't locate RRDs.pm in @INC (@INC contains: . /usr/lib/remstats/lib /usr/lib/perl5/ /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at ../rt-updater line 48.
BEGIN failed--compilation aborted at ../rt-updater line 48.

Description:

[This is not well integrated with the rest of remstats. If I figure out a good way to do it I will, but so far ...]

This program creates an RRD file, using the specified remstats RRD definition, but with a different set of RRAs and step time. It creates a command pipeline to run the required (RRD-specified) collector into the updater. It then runs this a number of times, to make sure that it can obtain data fast enough to meet the user-specified step time. It writes an rrdcgi web-page to show the user-specified graph from that RRD. Finally, it loops, running the collector-to-updater pipeline. This process will run until it fills the archive, or forever, if requested.

The actual image files are stored in /var/lib/remstats/cgi/GRAPHS/TMP, which should be created as writable by both the @@USER@@ user and the remstats group, and set-group-id to the remstats group. (This should be done automatically as part of the install and running the page-writer.) This will allow the rrdcgi web-page to write the image files there while running as the web-server's user.

This is intended for monitoring a few things during testing of something, to create very fine-grained data not to replace remstats usual processes, as it's much more CPU intensive.


[Top] [Remstats] [SourceWorks] [RRDtool] [SourceForge]
Last updated Fri Jun 22 13:37:47 GMT 2007 by <terskine@users.sourceforge.net>.