Xymon Mailing List Archive search

proc related alerts based on group (feature request)

list Asif Iqbal
Fri, 5 Mar 2010 16:04:30 -0500
Message-Id: <user-8ac6948d6edb@xymon.invalid>

another related feature request. `info' column completely ignores any
GROUP associated alert rules. Would be nice if it shows that.

On Fri, Mar 5, 2010 at 2:00 PM, Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> wrote:
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?
-- 
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?