[hobbit] Sending data from script to an rrd

Rob Munsch rmunsch at solutionsforprogress.com
Wed Oct 18 22:00:41 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ralph Mitchell wrote:
> 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.

This is no way clearly explained by the docs if you didn't already know
it.  it indicates that your One True Custom Script lives on your client
in the case of a client-side script, and sends info to the server as
it's called.

It goes on to describe changes to be made to various .cfg files, which i
*have made*, so this data gets processed.

The docs indicate that --extra-script should have
"=<myclientsidescriptname>" tacked on to it, which i have also done.

if this is not the case, please enlighten, and when i am done with this
i would happy to provide clarification to the documentation.

> 
> Ralph Mitchell
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 


- --
Rob Munsch
Solutions For Progress IT
www.solutionsforprogress.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFNofpBvBcJFK6xYURAr+HAJsGoHHjZHEmJVUsg2HdoCZoTixl8gCghacd
mxRTo7hil30CyNhMFTOdi6Q=
=WGAS
-----END PGP SIGNATURE-----



More information about the Xymon mailing list