Dont resolve alerts when exporter is down

17 views
Skip to first unread message

Marek Fiala

unread,
Jul 14, 2020, 2:44:25 AM7/14/20
to Prometheus Users
Hi,

I have my own custom exporter with metrics of our network devices.

Sometimes this exporter is down for short time and it causes resolve all alerts and then start again. So all sms/email notifications are sent again.

How can I solve this issue? I don't want to resolve alerts (and send notifications) when I have no data (exporter is down).

Thank you.

Julien Pivotto

unread,
Jul 14, 2020, 5:21:30 AM7/14/20
to Marek Fiala, Prometheus Users
You are looking for inhibition:

https://prometheus.io/docs/alerting/latest/configuration/#inhibit_rule


>
> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/8164c869-2262-46ce-86bf-b309f0bc4696o%40googlegroups.com.


--
Julien Pivotto
@roidelapluie
Reply all
Reply to author
Forward
0 new messages