[hobbit] Checking for mutually exclusive processes

Daniel Hartmeier daniel at benzedrine.cx
Thu Jun 11 15:01:32 CEST 2009


On Thu, Jun 11, 2009 at 08:50:02AM -0400, Brand, Thomas R. wrote:

> Given ProcessA and ProcessB,
>  If ProcessA is running AND ProcessB is running
>  then YELLOW
>  else 
>      if ProcessA is NOT running AND ProcessB is NOT running
>      then YELLOW
>      else GREEN
> 
> 
>  ProcessA and ProcessB are mutually exclusive; one OR the other must 
> be running, but not BOTH.

PROC %(ProcessA|ProcessB) 1 1 yellow

Daniel



More information about the Xymon mailing list