network-monitor/prometheus/alert.rules

14 lines
419 B
Plaintext
Raw Normal View History

2017-02-21 12:38:27 +00:00
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.",
}