[hobbit] xymon ready to replace bb?

Buchan Milne bgmilne at staff.telkomsa.net
Fri Mar 27 08:50:14 CET 2009


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)



More information about the Xymon mailing list