That's true. Could you do something with REPEAT?
In this specific case, he could use the ntp test. Otherwise you he'll probably need to write his own external test.
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Carl Melgaard
Sent: Monday, October 07, 2013 5:21 AM
To: 'xymon at xymon.com'
Subject: Re: [Xymon] proc : multiple alerts?
Hi,
BUT - if the procs-column is already in the red-state, when the 2nd process goes bad, it wont trigger a notification...
Regards,
Carl Melgaard
Fra: Xymon [mailto:xymon-bounces at xymon.com] På vegne af Root, Paul T
Sendt: 6. oktober 2013 03:52
Til: 'Bakkies Gatvol'; 'Xymon Mailing List'
Emne: Re: [Xymon] proc : multiple alerts?
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<mailto:-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 dbaDate: 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