1
0
Fork 0

Add alertmanager rules

This commit is contained in:
clerie 2022-07-10 20:59:03 +02:00
parent dc856e3980
commit f31aef9b20
1 changed files with 11 additions and 0 deletions

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."