I need some help in configuring reasonable alert rules for Cisco IP SLAs.
I found out that you need something like
%slas.deleted = “0” && ; otherwise you will have alerts for IP SLAs which have been discovered by LibreNMS, but no longer exist on the device.
%slas.status = “1” && ; the IP SLA should be active on the device…
The IP SLA status itself, well this is my question…:
I only see %slas.opstatus, which seems to be “0” if everything is OK, and “2” if there’s a problem.
It looks like it is reading OID 188.8.131.52.184.108.40.206.220.127.116.11.1.2 (at least for a “ICMP echo SLA”).
However it seems that %slas.opstatus becomes a “0” if the OID returns “1” (OK) or becomes “2” if the OID returns anything else (-> http://www.oidview.com/mibs/9/CISCO-RTTMON-MIB.html ).
So there is no way the differentiate between a “2” (disconnected) returned by the OID and a “3” (over threshold)?
Can somebody confirm this please (this will end in a feature-request)?
Is there a documentation to this?
Thank you for your help!