[hobbit] Checking for mutually exclusive processes

Brand, Thomas R. TRBrand at cvs.com
Thu Jun 11 14:50:02 CEST 2009


Hi Kevin,

 Unfortunately, that isn't what I need.

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.


> -----Original Message-----
> From: Kevin Kelly [mailto:kkelly at lifetouch.com]
> Sent: Thursday, June 11, 2009 7:49 AM
> To: hobbit at hswn.dk
> Subject: RE: [hobbit] Checking for mutually exclusive processes
> 
> In the file hobbit-clients.cfg
> 
> You can have something like
> HOST=server
> 	PROC cron 1 1
> 
> This would be a min of 1 and a max of 1.
> 
> -----Original Message-----
> From: Brand, Thomas R. [mailto:TRBrand at cvs.com]
> Sent: Wednesday, June 10, 2009 4:09 PM
> To: hobbit at hswn.dk
> Subject: [hobbit] Checking for mutually exclusive processes
> 
> Hi,
> 
>   I need to check whether one, but not both of two processes is
running.
> If either process is running, I should get a green light.
> If both are running, or neither one is running, I need to yellow flag
> it.
> 
> Is there some way to do this with a PROC rule in hobbit-client ?
> 
> 
> Thanks,
> Tom
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
> 
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> _____________________________________________________________________
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 




More information about the Xymon mailing list