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 -bounces at xymon.com] 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: mburger at bubbanfriends.org<mailto:mburger at bubbanfriends.org> To: bakgat8 at hotmail.com<mailto:bakgat8 at hotmail.com> 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 someone at email.address<mailto:someone at email.address> 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
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon