This is not really the right way to do it, because it’ll still be creating the alerts, they’ll just always be “ok”.
This is less bad on probes, but a really really bad idea to do on other things, as the alert entry table ends up scaling pretty painfully if you generate hundreds of thousands of alerts.
Adam.
Sent from my iPhone On 6 Feb 2024, at 00:04, Ahmed Rahal via observium <observium@lists.observium.org> wrote:
Hi Tony,
At first glance it should indeed be working, but I would use a regex for that
message
notregexp .*-(atm|sp)-.*
Cannot test, am currently in a hurry, but give it a try ;)
Ahmed.
Ahmed, this did seem to work with one term, however, I when I tried exclude some devices, the rule is firing when it should not….for example. The device shown
here is down, but I thought I was excluding that host from the rule….any idea’s whats wrong with my logic?
<image001.jpg>
Ahmed, thanks so much, I will give this a shot and let you know
Tony Guadagno
O +1 585 577 1003
C +1 585 703 6700
E
to...@guadagnoconsulting.com
<image003.jpg>
From: Ahmed Rahal via observium <observium@lists.observium.org>
Sent: Friday, February 2, 2024 5:45 PM
To: Observium <observium@lists.observium.org>
Cc: Ahmed Rahal <ara...@fibrenoire.ca>
Subject: [Observium] Re: alert checker for specific ping probes
You should be able to filter the alert on the message property
Hi, I have a bunch of ping probes and I would like to write an alert for some (but not all). Since the hostname is the same for all, how can I differentiate between them in an
alert checker…for example, I want to alert on this:
<image006.jpg>
But not this:
<image007.jpg>
thanks
Tony Guadagno
O +1 585 577 1003
C +1 585 703 6700
E
to...@guadagnoconsulting.com
<image003.jpg>
_______________________________________________
observium mailing list --
observium@lists.observium.org
To unsubscribe send an email to
observium-le...@lists.observium.org
--
_______________________________________________
observium mailing list -- observium@lists.observium.org
To unsubscribe send an email to observium-le...@lists.observium.org
-- Ahmed Rahal
Administrateur de Systèmes / Systems Administrator
A: 612 Rue Saint-Jacques, Montréal, QC H3C 1E2 ahmed.ra...@videotron.comTwitter: @fibrenoire
_______________________________________________observium mailing list -- observium@lists.observium.orgTo unsubscribe send an email to observium-le...@lists.observium.org
|