Sorry to “borrow” the thread. I’m having issue with OID too.

 

I have the following OID (which is BGP accepted prefix), I try to make an alert for when the BGP accepted prefix = 0, I would receive alert, but not working so far, not able to match any Alert Entries. Does version matter?

 

SNMPv2-SMI::enterprises.9.9.187.1.2.4.1.1.164.55.23.2.1.1 = Counter32: 1

SNMPv2-SMI::enterprises.9.9.187.1.2.4.1.1.164.55.23.6.1.1 = Counter32: 1

SNMPv2-SMI::enterprises.9.9.187.1.2.4.1.1.164.55.192.248.1.1 = Counter32: 3

 

 

 

Thank you

 

 

Jason La  |  Lead Systems Engineer, Portware Infrastructure

Portware, A FactSet Company
(212) 370 8353

 

From: observium <observium-bounces@observium.org> On Behalf Of Pieter De Wit via observium
Sent: Tuesday, November 13, 2018 2:42 PM
To: adama@memetic.org
Cc: Pieter De Wit <pieter.dewit@hitechsolutions.co.nz>; Observium <observium@observium.org>
Subject: Re: [Observium] Alerting on Custom OID

 

Turns out just "value" is working - thanks thou, made me look in the right place :)


Kind Regards,

 

Pieter De Wit

 

On Wed, Nov 14, 2018 at 8:13 AM Adam Armstrong <adama@memetic.org> wrote:

oid_value is what you want.

Check the documentation :D

Adam.

Sent from BlueMail

On 13 Nov 2018, at 19:04, Pieter De Wit via observium <observium@observium.org> wrote:

Hi Guys,

 

I am trying to build an alert for a value of a custom oid but I seem to be missing something - blame lack of coffee/sleep etc :)

 

The OID is .1.3.6.1.4.1.13400.3.4.4041.1.1.2.1 and I would like to alert when it's below 300. I have created an Alert checker that has a test condition of the following:

 

.1.3.6.1.4.1.13400.3.4.4041.1.1.2.1 lt 300

 

This doesn't appear to work as it always "OK" the alert even thou the value is +-230. I have even tried "AC Input 1 Voltage" lt 300 without luck.

 

The name comes from the oid_name field in the oids table. How do you create an alert for a custom oid and how do I know what I can alert on, using a custom oid ?

 

Kind Regards,

 

Pieter De Wit

 



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