[Xymon] proc : multiple alerts?

Carl Melgaard Carl.Melgaard at STAB.RM.DK
Mon Oct 7 12:21:16 CEST 2013


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
-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
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20131007/75f1c997/attachment.html>


More information about the Xymon mailing list