Device down detect method?

Greetings,

sometime my LibreNMS sends an alert because one device status change to down from snmp check, but I think the icmp check should be fine, the server were just too busy to respond.

So, is there a way to make my LibreNMS sends an alert ONLY when both icmp and snmp check failed?
Or is it already default?

Right now I use this rule to detect

2 Likes

What he said, or you can use the device_down macro (see https://docs.librenms.org/Alerting/Macros/):

macros.device_down = 1 AND devices.status_reason = "icmp"

I pair this with one that checks only for SNMP device_down with a longer alert delay to separately identify SNMP polling failures:

macros.device_down = 1 AND devices.status_reason = "snmp"

HTH

2 Likes