alert on proc while both hosts running the same process at the same time

Asif Iqbal vadud3 at gmail.com
Tue Jul 13 01:33:09 CEST 2010


HOST=%host1|host2
  PROC  myproc ?? ??

How do I setup using PROC or may be some other method to alert when a process
myproc is running either on both server or on no server?

only one myproc is suppose to run on only one of the two hosts, host1 or host2
if myproc does not run on either of the hosts that should alert too.


so here is the condition

total number of myproc process on the hosts. each row is reprensenting a time

          host1            host2
          --------            --------
time1     0                   0
time2     0                   1
time3     1                   0
time4     1                   1

alert during time1 and time4

Is it possible to achieve this using stock hobbit? The other option
would be writing a server side script.

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?



More information about the Xymon mailing list