changed alert rules
This commit is contained in:
parent
cf89224111
commit
876e9cd419
1 changed files with 4 additions and 4 deletions
|
|
@ -64,24 +64,24 @@ prometheus_agent:
|
|||
group: nodeexporter
|
||||
alert: DiscFilling
|
||||
enabled: True
|
||||
expr: predict_linear(node_filesystem_free_bytes{fstype!~"tmpfs", job="node", instance="{{ inventory_hostname }}"}[4h], 12 * 3600) < 0
|
||||
expr: predict_linear(node_filesystem_free_bytes{fstype!~"tmpfs", job="node", instance="{{ inventory_hostname }}"}[12h], 24 * 3600) < 0
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
title: '{%raw%}{{ $labels.instance }}: DiscFillingWarning{%endraw%}'
|
||||
description: "Node disc is filling in 12h"
|
||||
description: "Node disc is filling in 24h"
|
||||
DiscFillingCritical:
|
||||
group: nodeexporter
|
||||
alert: DiscFilling
|
||||
enabled: True
|
||||
expr: predict_linear(node_filesystem_free_bytes{fstype!~"tmpfs", job="node", instance="{{ inventory_hostname }}"}[4h], 1 * 3600) < 0
|
||||
expr: predict_linear(node_filesystem_free_bytes{fstype!~"tmpfs", job="node", instance="{{ inventory_hostname }}"}[12h], 3 * 3600) < 0
|
||||
for: 5m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
title: '{%raw%}{{ $labels.instance }}: DiscFillingCritical{%endraw%}'
|
||||
description: "Node disc is filling in 1h"
|
||||
description: "Node disc is filling in 3h"
|
||||
DiscInodesWarning:
|
||||
group: nodeexporter
|
||||
enabled: True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue