Add blackbox configuration reload alert

This commit is contained in:
Julien Lecomte 2022-07-13 10:52:40 +02:00
parent f57600b8d3
commit be03d36a04

View file

@ -13,6 +13,15 @@ groups:
summary: Blackbox probe failed (instance {{ $labels.instance }}) summary: Blackbox probe failed (instance {{ $labels.instance }})
description: "Probe failed\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" 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 - alert: BlackboxSlowProbe
expr: 'avg_over_time(probe_duration_seconds[1m]) > 1' expr: 'avg_over_time(probe_duration_seconds[1m]) > 1'
for: 1m for: 1m