Xymon Mailing List Archive search

Checking for mutually exclusive processes

list Daniel Hartmeier
Thu, 11 Jun 2009 15:01:32 +0200
Message-Id: <user-6f64f96a8d78@xymon.invalid>

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