network-monitor/prometheus/alert.rules
2017-02-21 13:38:27 +01:00

14 lines
419 B
Plaintext

ALERT service_down
IF up == 0
ANNOTATIONS {
summary = "Instance {{ $labels.instance }} is down :( ",
description = "{{ $labels.instance }} of job {{ $labels.job }} is not happy.",
}
ALERT high_load
IF node_load1 > 0.5
ANNOTATIONS {
summary = "Instance {{ $labels.instance }} under high load",
description = "{{ $labels.instance }} of job {{ $labels.job }} is under high load.",
}