[hobbit] Sending data from script to an rrd

Ralph Mitchell ralphmitchell at gmail.com
Wed Oct 18 21:52:47 CEST 2006


On 10/18/06, Rob Munsch <rmunsch at solutionsforprogress.com> 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



More information about the Xymon mailing list