1
0
nixfiles/hosts/monitoring-3/rules.yml

12 lines
328 B
YAML
Raw Normal View History

2021-10-22 23:53:42 +02:00
groups:
- name: alert.rules
rules:
- alert: InstanceDown
2021-10-23 18:14:51 +02:00
expr: up{job="node-exporter"} == 0
for: 5m
2021-10-22 23:53:42 +02:00
labels:
severity: critical
annotations:
summary: "Endpoint {{ $labels.instance }} down"
description: "{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 1 minutes."