Update Alert Manager rules for NodeDiskRunningFull with summary

This commit is contained in:
Alexander Holte-Davidsen
2018-03-22 11:32:38 +01:00
parent 07263e98c0
commit 4c77a9db1d
2 changed files with 4 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ groups:
annotations: annotations:
description: device {{$labels.device}} on node {{$labels.instance}} is running description: device {{$labels.device}} on node {{$labels.instance}} is running
full within the next 24 hours (mounted at {{$labels.mountpoint}}) full within the next 24 hours (mounted at {{$labels.mountpoint}})
summary: Node disk is running full within 24 hours
- alert: NodeDiskRunningFull - alert: NodeDiskRunningFull
expr: predict_linear(node_filesystem_free[30m], 3600 * 2) < 0 expr: predict_linear(node_filesystem_free[30m], 3600 * 2) < 0
for: 10m for: 10m
@@ -43,4 +44,4 @@ groups:
annotations: annotations:
description: device {{$labels.device}} on node {{$labels.instance}} is running description: device {{$labels.device}} on node {{$labels.instance}} is running
full within the next 2 hours (mounted at {{$labels.mountpoint}}) full within the next 2 hours (mounted at {{$labels.mountpoint}})
summary: Node disk is running full summary: Node disk is running full within 2 hours

View File

@@ -531,6 +531,7 @@ data:
annotations: annotations:
description: device {{$labels.device}} on node {{$labels.instance}} is running description: device {{$labels.device}} on node {{$labels.instance}} is running
full within the next 24 hours (mounted at {{$labels.mountpoint}}) full within the next 24 hours (mounted at {{$labels.mountpoint}})
summary: Node disk is running full within 24 hours
- alert: NodeDiskRunningFull - alert: NodeDiskRunningFull
expr: predict_linear(node_filesystem_free[30m], 3600 * 2) < 0 expr: predict_linear(node_filesystem_free[30m], 3600 * 2) < 0
for: 10m for: 10m
@@ -539,7 +540,7 @@ data:
annotations: annotations:
description: device {{$labels.device}} on node {{$labels.instance}} is running description: device {{$labels.device}} on node {{$labels.instance}} is running
full within the next 2 hours (mounted at {{$labels.mountpoint}}) full within the next 2 hours (mounted at {{$labels.mountpoint}})
summary: Node disk is running full summary: Node disk is running full within 2 hours
prometheus.rules.yaml: |+ prometheus.rules.yaml: |+
groups: groups:
- name: prometheus.rules - name: prometheus.rules