[hobbit] Checking for mutually exclusive processes

Brand, Thomas R. TRBrand at cvs.com
Thu Jun 11 17:49:33 CEST 2009


Beautiful....

Too simple!

Thanks!

> -----Original Message-----
> From: Daniel Hartmeier [mailto:daniel at benzedrine.cx]
> Sent: Thursday, June 11, 2009 9:02 AM
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] Checking for mutually exclusive processes
> 
> 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
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 




More information about the Xymon mailing list