mirror of
https://github.com/ItsDrike/network-monitor.git
synced 2024-11-10 03:59:41 +00:00
14 lines
419 B
Plaintext
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.",
|
||
|
}
|