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