Alerting on Custom OID
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*
oid_value is what you want.
Check the documentation :D
Adam.
Sent from BlueMail
On 13 Nov 2018, 19:04, 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
Thank you Mr Adam - I see you now capitalising your A - what happened :)
*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 http://www.bluemail.me/r?b=14063 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
Only when the capital comes for free, like on mobile!
Adam.
Sent from BlueMail
On 13 Nov 2018, 19:26, at 19:26, Pieter De Wit via observium observium@observium.org wrote:
Thank you Mr Adam - I see you now capitalising your A - what happened :)
*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 http://www.bluemail.me/r?b=14063 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
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
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 http://www.bluemail.me/r?b=14063 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
Oh yes, it might be just value!
Adam.
Sent from BlueMail
On 13 Nov 2018, 19:42, at 19:42, Pieter De Wit via observium observium@observium.org wrote:
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 http://www.bluemail.me/r?b=14063 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
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
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
[cid:image002.png@01D47B64.B3F8CC80]
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.orgmailto:adama@memetic.org> wrote: oid_value is what you want. Check the documentation :D Adam. Sent from BlueMailhttp://www.bluemail.me/r?b=14063 On 13 Nov 2018, at 19:04, Pieter De Wit via observium <observium@observium.orgmailto: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.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
This is not how custom oid works.
This data is already available in the bgp peer afi entity type.
Adam.
Sent from BlueMail
On 13 Nov 2018, 20:22, at 20:22, Jason La via observium observium@observium.org wrote:
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
[cid:image002.png@01D47B64.B3F8CC80]
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.orgmailto:adama@memetic.org> wrote: oid_value is what you want. Check the documentation :D Adam. Sent from BlueMailhttp://www.bluemail.me/r?b=14063 On 13 Nov 2018, at 19:04, Pieter De Wit via observium <observium@observium.orgmailto: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.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Got it. Working perfectly now, no need for custom OID, just the AcceptedPrefixes and AdvertisedPrefixes metric.
Thanks Adam.
Jason La | Lead Systems Engineer, Portware Infrastructure Portware, A FactSet Company (212) 370 8353
From: Adam Armstrong adama@memetic.org Sent: Tuesday, November 13, 2018 3:35 PM To: Pieter De Wit via observium observium@observium.org Cc: Jason La jla@portware.com Subject: Re: [Observium] Alerting on Custom OID
This is not how custom oid works. This data is already available in the bgp peer afi entity type. Adam. Sent from BlueMailhttp://www.bluemail.me/r?b=14063 On 13 Nov 2018, at 20:22, Jason La via observium <observium@observium.orgmailto:observium@observium.org> wrote: 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
[cid:image002.png@01D47B64.B3F8CC80]
Thank you
Jason La | Lead Systems Engineer, Portware Infrastructure Portware, A FactSet Company (212) 370 8353
From: observium <observium-bounces@observium.orgmailto:observium-bounces@observium.org> On Behalf Of Pieter De Wit via observium Sent: Tuesday, November 13, 2018 2:42 PM To: adama@memetic.orgmailto:adama@memetic.org Cc: Pieter De Wit <pieter.dewit@hitechsolutions.co.nzmailto:pieter.dewit@hitechsolutions.co.nz>; Observium <observium@observium.orgmailto: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.orgmailto:adama@memetic.org> wrote: oid_value is what you want. Check the documentation :D Adam. Sent from BlueMailhttp://www.bluemail.me/r?b=14063 On 13 Nov 2018, at 19:04, Pieter De Wit via observium <observium@observium.orgmailto: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.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
________________________________
observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Adam Armstrong
-
Jason La
-
Pieter De Wit