Xymon Mailing List Archive search

proc : multiple alerts?

list Mike Burger
Mon, 7 Oct 2013 14:27:22 -0400 (EDT)
Message-Id: <user-7fc4a41f2ca2@xymon.invalid>

I note quite a few responses suggesting using a script, and that would
definitely work.

Another option, if your Xymon server is a Linux/Unix server, might be to
forward all alarms to a local account, and have that local account make
use of procmail to forward the alarms to the appropriate
teams/individuals, based on content.
-- 
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

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
To: user-66e2e196cd54@xymon.invalid
CC: 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 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