Xymon Mailing List Archive search

proc related alerts based on group (feature request)

list Asif Iqbal
Fri, 5 Mar 2010 14:00:10 -0500
Message-Id: <user-04f67a910cbd@xymon.invalid>

PROC joeproc GROUP=joe

GROUP=joe
  MAIL user-5e58672ab5a6@xymon.invalid
  ! MAIL user-755b3085f1e7@xymon.invalid

Can I do something like this?

I want to alert joe only about `joeproc' . So that part works fine by
giving the process a group-id and
alert `user-3cd9df6b490b@xymon.invalid' only when grouip-id matches.

But, I also want only joe gets alert for those processes. So is there
a way I can prevent the whole group to
receive alerts related to joeproc ? would be nice if I could have
EXPROC or NOT MAIL .. something like that.

So

this can be achieved easily:
  alert user-5e58672ab5a6@xymon.invalid ONLY for process joeproc. don't alert him for
any other procs.

this cannot be achieved easily:
  alert ONLY user-e21a6c57e2f9@xymon.invalid for process joeproc. don't alert
user-755b3085f1e7@xymon.invalid for this process.


I could exservice proc for user-755b3085f1e7@xymon.invalid and then for each
group of hosts (PAGE) or each list of hosts (using regex)
I need to setup a GROUP for the list of procs that I want the
wholegroup to be alerted on. That is lot of work

It would be easy if I rather have some negation rule synatx, like
EXPROC or NOT MAIL

any suggestion is welcome.

-- 
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?