Xymon Mailing List Archive search

Sending data from script to an rrd

list Ralph Mitchell
Wed, 18 Oct 2006 14:52:47 -0500
Message-Id: <user-4929659a4cfe@xymon.invalid>

On 10/18/06, Rob Munsch <user-f39e4aae1456@xymon.invalid> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hubbard, Greg L wrote:
Rob,

You are trying to combine two scripts into one.  Read the FAQ.
I don't faintly understand what you mean.  I have one script.
Yes, but there should be two scripts.

Script #1:  runs anywhere - could  be on your Hobbit server, could be
on one or more remote server(s) at any random location on the planet.
It reads the sensors, extracts the relevant data, formats the message
and sends it to the Hobbit server

Script #2: is executed by hobbitd_rdd via the --extra-script option.
This one extracts relevant information from the incoming status report
and echoes out the RRD creation parameters, the RRD file name, and the
data to stuff into the RRD.  Hobbit_rrd reads that and does what's
necessary to save the data in an RRD.

Ralph Mitchell