Rule |
State |
Error |
Last Evaluation |
Evaluation Time |
alert: node_down
expr: up{job="node"}
== 0
for: 1m
labels:
severity: critical
annotations:
description: '{{ $labels.instance }} of job {{ $labels.job }} has been down for
more than 1 minutes.'
summary: Instance {{ $labels.instance }} down
|
ok
|
|
41.541s ago
|
772.6us |
alert: processor_usage_too_high
expr: ((sum
by (instance, job) (node_cpu{mode=~"^(?:^(?:user|nice|system|irq|softirq|steal|idle|iowait)$)$"}))
- (sum by (instance, job) (node_cpu{mode=~"^(?:^(?:idle|iowait)$)$"})))
/ (sum by (instance, job) (node_cpu{mode=~"^(?:^(?:user|nice|system|irq|softirq|steal|idle|iowait)$)$"}))
* 100 > 95
for: 5m
labels:
severity: critical
annotations:
description: 'Instance {{ $labels.instance }} of job {{ $labels.job }} has processor
above 95% (current value: {{ printf "%.2f" $value }}%) for over 5 minutes'
summary: Processor usage above 95%
|
ok
|
|
41.541s ago
|
985.2us |
alert: memory_usage_limit
expr: (((node_memory_MemTotal
- node_memory_MemFree - node_memory_Cached) / node_memory_MemTotal) * 100) >
90
for: 15m
labels:
severity: critical
annotations:
description: 'Instance {{ $labels.instance }} of job {{ $labels.job }} has memory
usage above 90% (current value: {{ printf "%.2f" $value }}%) for over
15 minutes'
summary: Memory usage above 90%
|
ok
|
|
41.54s ago
|
434.9us |
alert: swap_limit
expr: (node_memory_swap_used_byteS
* 100) / node_memory_swap_size_bytes > 90
for: 5m
labels:
severity: critical
annotations:
description: '{{ $labels.instance }} of job {{ $labels.job }} has memory swap abobe
90%'
summary: Instance {{ $labels.instance }} down
|
ok
|
|
41.54s ago
|
438.4us |
alert: HostOutOfDiskSpace
expr: (node_filesystem_avail_bytes
* 100) / node_filesystem_size_bytes < 10 and on (instance, device, mountpoint)
node_filesystem_readonly == 0
for: 2m
labels:
severity: warning
annotations:
description: |-
Disk is almost full (< 10% left)
VALUE = {{ $value }}
LABELS = {{ $labels }}
summary: Host out of disk space (instance {{ $labels.instance }})
|
ok
|
|
41.54s ago
|
6.947ms |