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