1
0
vcp-bula-nixfiles/hosts/monitoring/alertmanager-rules.yml

12 lines
328 B
YAML
Raw Normal View History

2022-07-10 20:59:03 +02:00
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."