[hobbit] Custom RRD script

Hubbard, Greg L greg.hubbard at eds.com
Tue Feb 7 17:52:03 CET 2006


Hmm.  I am not seeing that.  I have my custom tests (I am up to 4 now)
in specified in the GRAPHS variable, but NOT in the TEST2RRD variable,
and I am getting the values, and seeing the graphs in my Trends display.

But if I put them in the TEST2RRD variable, then my custom script is
never called.  Which is what made me wonder -- now I am really getting
confused.

In (grin) in case you haven't heard it before -- congratulations on a
great tool -- I think it has significant improvements over BB in every
area!

GLH 

-----Original Message-----
From: Henrik Stoerner [mailto:henrik at hswn.dk] 
Sent: Tuesday, February 07, 2006 10:02 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Custom RRD script

On Tue, Feb 07, 2006 at 09:11:00AM -0600, Hubbard, Greg L wrote:
> 
> I have been struggling with the custom RRD capabilities in the latest 
> version of Hobbit.  I think I've found the issue -- if custom tests 
> are listed in the TEST2RRD variable, then those tests are not 
> forwarded to the test-script for action.  Has anyone else noticed
this?

Hmm - no, at least it shouldn't behave like that.

The custom RRD setup should be very simple. If your data shows up in the
"mytest" column on the Hobbit display, add the "--extra-tests=mytest"
and "--extra-script=mycustomscript.sh" options to the hobbitd_rrd
commandline (in hobbitlaunch.cfg), and that should be it. Your script
should get called whenever there's a status update for the "mytest"
column.

The part that probably tricks you up is that "mytest" must be added to
both the TEST2RRD setting, and the GRAPHS setting. If it's missing from
either of these, Hobbit won't send it through the RRD update process.


Regards,
Henrik


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





More information about the Xymon mailing list