[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Re: hobbitd_rrd not starting an extra script



Equal signs, indeed.  Nice catch!

As far as submitting fixes, if they're not too big I might suggest just posting them to the list. If folks are interested in it, they can try it out and give you feedback.

Graham Nayler wrote:
Sébastien

I think this one is pretty simple - ready to kick yourself? Try putting "=" (without quotes) instead of the blank after --extra-script and --extra-tests!

Once that's done though you may hit another problem, over which I've been tearing my hair out for the last week. I got the graphs connected up OK, but values were only being written into it very intermittently. I've finally tracking it down to a bug in the external script handler do_external.c (at least in the version we're running - snapshot as of 9th Sept). This does not apply to 4.2.0 - but we had troubles getting that to work with BBWin (we're monitoring Windows boxes).

The problem is that recent versions of hobbit caches writes to RRD, but the external script is handled by a forked process, which only operates on a copy of the cache controller, and not that of the main process. I'll submit my fix (albeit crude) when I've worked out haw to do so (I'm really new to this open source stuff)!,

Graham Nayler

--
Rich Smrcina
VM Assist, Inc.
Phone: 414-491-6001
Ans Service:  360-715-2467
rich.smrcina at vmassist.com
http://www.linkedin.com/in/richsmrcina

Catch the WAVV!  http://www.wavv.org
WAVV 2009 - Orlando, FL - May 15-19, 2009