[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] xymon ready to replace bb?
- To: <hobbit (at) hswn.dk>
- Subject: Re: [hobbit] xymon ready to replace bb?
- From: "McDonald, Dan" <Dan.McDonald (at) austinenergy.com>
- Date: Fri, 27 Mar 2009 07:25:19 -0500
- References: <49CAE37B.6070002 (at) tmsusa.com> <200903262325.53879.stef.coene (at) docum.org> <200903270950.15075.bgmilne (at) staff.telkomsa.net>
- Thread-index: Acmu1xgrPxcx9CobQda8SluqWYMfSQ==
- Thread-topic: [hobbit] xymon ready to replace bb?
On Fri, 2009-03-27 at 09:50 +0200, Buchan Milne wrote:
> On Friday 27 March 2009 00:25:53 Stef Coene wrote:
>
> > For the failover, configure both servers to report to each other it's
> > situation. Configure both servers to trigger a script when there is an
> > alert. Except one of them is the master and is always sending out the
> > alert. The other (the slave one) first checks the status of the other
> > server (a simpel wget of the status page can be enough) and only sends out
> > the alert if this page is not green.
>
> I would rather:
>
> bb $MASTERDISPLAY 'query $MASTERDISPLAY.bbd'|grep -q ^green ||
> enable_hobbitd_alert
>
> (where implementation of enable_hobbitd_alert is left as an exercise for the
> reader)
I was thinking the depends=($MASTERDISPLAY/bbd) syntax, but on further
inspection, I don't think that will cut it.
--
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
Austin Energy
http://www.austinenergy.com