Custom OIDs / Alert Rules

Hello

Hello all,

I have some devices where I have added Custom OID’s. I have managed to get this data into LibreNMS and can see them under “Graphs → Custom OID”. The values are present and correct and all is working well.

I would now like to add some alerts so that if the values of the Custom OID’s go above or below certain values, I get alerts via LibreNMS. For context, the values are temperatures, in C.

I have read various threads on here and am slightly confused about whether or not this is possible and, if it is, how to do this.

I have already tried looking in “Alert Rules” and “Create new alert rule” and I can see a list of customoids.xxx in the list, but not sure if they refer to what I’m looking for or not?

Has anyone been able to set up a simple “alert if custom OID value is great than” alert? IF so, could you kindly point me in the right direction?

Thanks in advance for any suggestions.

You should be able to. When you setup the customoid there are thresholds for alerts and warning level and a checkbox to enable alerts for that OID.

On their own, those don’t do anything, but if you set those then you can just use the customoid alert templates (Alerts > Alert Rules > Create rule from collection).

If you add those they should just alert when they hit the threshold vaules. Alternatively, you could use one of those but instead of the customoid_limit variables just use a static value.

2 Likes

Thank you for your reply, much appreciated. I actually managed to resolve this using your suggested second option, thanks again for taking the time to respond.

1 Like