From be03d36a040e6bba3e6f6502b80574ec356c75d3 Mon Sep 17 00:00:00 2001 From: Julien Lecomte Date: Wed, 13 Jul 2022 10:52:40 +0200 Subject: [PATCH] Add blackbox configuration reload alert --- dist/rules/blackbox/blackbox-exporter.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dist/rules/blackbox/blackbox-exporter.yml b/dist/rules/blackbox/blackbox-exporter.yml index 10c6290..9d00c86 100644 --- a/dist/rules/blackbox/blackbox-exporter.yml +++ b/dist/rules/blackbox/blackbox-exporter.yml @@ -13,6 +13,15 @@ groups: summary: Blackbox probe failed (instance {{ $labels.instance }}) description: "Probe failed\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" + - alert: BlackboxConfigurationReloadFailure + expr: blackbox_exporter_config_last_reload_successful != 1 + for: 0m + labels: + severity: warning + annotations: + summary: Blackbox configuration reload failure (instance {{ $labels.instance }}) + description: "Blackbox configuration reload error\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" + - alert: BlackboxSlowProbe expr: 'avg_over_time(probe_duration_seconds[1m]) > 1' for: 1m