Possible to alert on custom OID?

Hello,

I’m using yaml files to discover a custom device and import it’s settings via SNMP. How do I alert on this value if it goes below 10?

I see there are customoid. alerts but which one should I use?

Thanks

Hi @gonzo
YAML is the way to go. And you can alert on the sensor (type “count”) like any other sensor. You can also define a warning and critical value (low or high), either in the YAML (if the value makes sense for everybody) or yourself in the device (in the GUI, tab “health”).

I can add the warnings to the yaml file as I’ve done that before, but I just don’t know what macro to use when setting up the alert, what would I choose?