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.
[