Hi,

 

As per the docs, the only available metric for Custom OIDs is ‘value’ : https://docs.observium.org/entities/#metrics_15

 

Also as per the docs, ‘equal’ isn’t actually a valid comparator keyword :

 

https://docs.observium.org/alert_checker/#syntax-of-test-evaluators

 

You need to use eq or equals (as in the association rule in the screenshot)

 

Thanks,

Adam.

 

From: observium <observium-bounces@observium.org> On Behalf Of Thibault Richard via observium
Sent: 09 October 2018 14:47
To: 'Chris Tomkins' <christ@brandwatch.com>
Cc: Thibault Richard <thibs@thibs.com>; 'Observium' <observium@observium.org>
Subject: Re: [Observium] Alerting on custom OID

 

Hello Chris,

 

Thanks for your reply.

 

Unfortunately I’ve no success with your proposal

 

I’ve defined my custom OID like this

 

 

 

I know it works because if the state change , I see it’s taken into account into Observium

 

 

I’ve defined my Alert check like this :

 

 

But it’s still doesn’t work ;-(

 

Adam any tip to help me ?

 

Best Regards

 

Thibault

 

 

De : Chris Tomkins <christ@brandwatch.com>
Envoyé : mardi 9 octobre 2018 15:18
À : thibs@thibs.com
Cc : Observium <observium@observium.org>
Objet : Re: [Observium] Alerting on custom OID

 

Hi Thibault,


See attached, maybe it helps? This is a working setup.

 

Chris

 

On Tue, 9 Oct 2018 at 14:10, Thibault Richard via observium <observium@observium.org> wrote:

Hello,

 

Could you please help me to achieve the alert checks I need

 

I ‘ve defined the following custom OID

 

 

The result ca only be O (means OK) or 1 (means KO)

 

I want to be alerted when the value is 1

 

I’ve tried a lot of combination including the following :

 

 

 

 

 

I know the solution is in the condition checker but I don’t know how to define the condition “if the OID value is XX”

 

I’m completely lost

 

Could you please help me ?

 

Best Regards

 

Thibault

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium


 

--

Chris Tomkins

Brandwatch | Senior Network Engineer (Linux/Network)

christ@brandwatch.com | (+44) 01273 448 949

@Brandwatch

New York  |  San Francisco  |  Brighton  |  Singapore  |  Berlin |  Stuttgart

 

Discover how organizations are using Brandwatch to create their own success

 

Email disclaimer

 

bw-signature logo.png