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

RE: [hobbit] only alert if X number of hosts are already in error



> My best suggestion would be to use the bbcombotest tool to define
> a pseudo "host" with the combined status of your host "pool".
> 
> E.g. if you're monitoring http on 5 hosts, you could define a
> combination test like this:
> 
> Pool1.http=(hostA.http+hostB.http+hostC.http+hostD.http+hostE.http)>3
> 
> That would give you a red alert if 3 or fewer hosts in the pool were
> green. And you could then trigger an alert based on that test result.

Pretty unwieldy when you have large pools of servers, however.  

I just started writing a smart paging script which will keep track of downed hosts and decide whether or not to page.  

One question I have so far is: Does hobbit wait for an alerting script to return before continuing to evaluate other rules?  

--
Bruce Z. Lysik  <blysik (at) shutterfly.com>
Operations Engineer 


The information contained in this message (including any attachments) may be confidential. This message (including any attachments) is intended to be read only by the recipient(s) to whom it is addressed. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and/or Shutterfly by telephone at (650) 610-5200 and delete or destroy any copy of this message (including any attachments).