Ahmed, that did seem to work, thanks again for the suggestion!

 

 

Adam, can you explain why

 

Message notmatch *-sp-*

Message notmatch *-atm-*

 

But

 

message notregexp .*-(atm|sp)-.*

 

does work?

 

Tony Guadagno

O +1 585 577 1003

C +1 585 703 6700

E tonyg@guadagnoconsulting.com

cid:image001.jpg@01D84DD6.FC9912E0

 

From: Ahmed Rahal via observium <observium@lists.observium.org>
Sent: Monday, February 5, 2024 7:01 PM
To: Observium <observium@lists.observium.org>
Cc: Ahmed Rahal <arahal@fibrenoire.ca>
Subject: [Observium] Re: alert checker for specific ping probes

 

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.

 

Le lun. 5 févr. 2024, à 15 h 40, Tony Guadagno via observium <observium@lists.observium.org> a écrit :

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?

 

 

Tony Guadagno

O +1 585 577 1003

C +1 585 703 6700

E tonyg@guadagnoconsulting.com

cid:image001.jpg@01D84DD6.FC9912E0

 

From: Tony Guadagno via observium <observium@lists.observium.org>
Sent: Friday, February 2, 2024 6:41 PM
To: Observium <observium@lists.observium.org>
Cc: Tony Guadagno <tonyg@guadagno.org>
Subject: [Observium] Re: alert checker for specific ping probes

 

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 tonyg@guadagnoconsulting.com

cid:image001.jpg@01D84DD6.FC9912E0

 

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 <arahal@fibrenoire.ca>
Subject: [Observium] Re: alert checker for specific ping probes

 

Hi Tony,

 

You should be able to filter the alert on the message property

 

image.png

 

HTH,

 

Ahmed.

 

Le jeu. 1 févr. 2024, à 15 h 06, Tony Guadagno via observium <observium@lists.observium.org> a écrit :

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:

 

But not this:

 

thanks

 

Tony Guadagno

O +1 585 577 1003

C +1 585 703 6700

E tonyg@guadagnoconsulting.com

cid:image001.jpg@01D84DD6.FC9912E0

 

_______________________________________________
observium mailing list -- observium@lists.observium.org
To unsubscribe send an email to observium-leave@lists.observium.org



--

Ahmed Rahal

Administrateur de Systèmes / Systems Administrator

Videotron/Fibrenoire - www.fibrenoire.ca

A: 612 Rue Saint-Jacques, Montréal, QC H3C 1E2

ahmed.rahal@videotron.com

Twitter: @fibrenoire

_______________________________________________
observium mailing list -- observium@lists.observium.org
To unsubscribe send an email to observium-leave@lists.observium.org



--

Ahmed Rahal

Administrateur de Systèmes / Systems Administrator

Videotron/Fibrenoire - www.fibrenoire.ca

A: 612 Rue Saint-Jacques, Montréal, QC H3C 1E2

ahmed.rahal@videotron.com

Twitter: @fibrenoire