Write a script to put in alerts.cfg.
HOST=apple COLOR=red SERVICE=proc
SCRIPT /usr/local/scripts/xymAppelProcs $NG-SYSADM $NG_DBA
Then the script will have to look at the alert, and see which one it is. And alert the proper person.
From: Xymon [mailto:xymon
-user-2ce0a6b6a2e5@xymon.invalid] On Behalf Of Bakkies Gatvol
Sent: Saturday, October 05, 2013 6:44 PM
To: Xymon Mailing List
Subject: Re: [Xymon] proc : multiple alerts?
That is one alert - I want to be able to do
Host=appel
PROC=ntpd
alert a sysadmin
Host=appel
PROC=weblogic
alert a dba
Date: Fri, 4 Oct 2013 18:57:33 -0400
Subject: Re: [Xymon] proc : multiple alerts?
From: user-cc5c6e80f4c5@xymon.invalid<mailto:user-cc5c6e80f4c5@xymon.invalid>
To: user-66e2e196cd54@xymon.invalid<mailto:user-66e2e196cd54@xymon.invalid>
CC: xymon at xymon.com<mailto:xymon at xymon.com>
Of course it's possible.
In analysis.cfg, you have something like this:
HOST=some.host.name
PROC ntpd 1
PROC <insert appropriate regex here> <minimum #> <maximum #>
And in alerts.cfg:
HOST=some.host.name
MAIL user-a445539a35b3@xymon.invalid<mailto:user-a445539a35b3@xymon.invalid> COLOR=<yellow or red>
--
Mike Burger
http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
I want to have a system procs (cron ntpd) alert
and
a dba procs (weblogic blah blah) alert.
Based on my current understanding this is not possible under 4.3 ?
I can write code to do this - I just do not want to do unnecessary work!
-- Bakkies