Hi Colin<br><br>We did something similar at previous client we know too well. :-)<br>It's called a combo-test.<br>Look for "Combination Tests" under the man pages.<br><br>What you need to do is define a new test. Call it "Cluster" for lack of a better name.<br>
You then define servername.Cluster=(insert logical arguments here) into bbcombotest.cfg<br>This will generate a new test which is dependant on the logic you define.<br>The server name doesn't even need to exist. So you can define your combo test as cluster.app=(logic)<br>
This will send the results of a new test "app" as if it came from a new server called "cluster"<br>You then add cluster to bb-hosts as follows<br>0.0.0.0   Cluster  # noconn<br>Very powerful, and the man page does explain it fairly well.<br>
<br>Let me know how you go.<br><br>Cheers<br>      Vernon<br><br><br><div class="gmail_quote">On Tue, Oct 19, 2010 at 9:42 AM, Colin Coe <span dir="ltr"><<a href="mailto:colin.coe@gmail.com">colin.coe@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all<br>
<br>
I'm trying to do a depends-like test for processes.  What I'd like is<br>
ensure that process foo is running on one of four hosts, if the<br>
process is running on more than one host or on none, a red flag should<br>
be raised.<br>
<br>
Has anyone done this previously?<br>
<br>
Thanks<br>
<br>
CC<br>
<font color="#888888"><br>
--<br>
RHCE#805007969328369<br>
<br>
To unsubscribe from the xymon list, send an e-mail to<br>
<a href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a><br>
<br>
<br>
</font></blockquote></div><br>