1
0

Add alertmanager rules

This commit is contained in:
clerie 2022-07-10 20:59:03 +02:00
parent dc856e3980
commit f31aef9b20

View File

@ -0,0 +1,11 @@
groups:
- name: alert.rules
rules:
- alert: InstanceDown
expr: up{job="node-exporter"} == 0
for: 5m
labels:
severity: critical
annotations:
summary: "Endpoint {{ $labels.instance }} down"
description: "{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 5 minutes."