Browse Source

Ignoring fuse filesystems.

we can't prevent them from filling
pull/11/head
Egon Rijpkema 3 years ago
parent
commit
eb08a9d0a1
  1. 5
      roles/prom_server/templates/etc/alerting.rules

5
roles/prom_server/templates/etc/alerting.rules

@ -27,7 +27,7 @@ groups: @@ -27,7 +27,7 @@ groups:
description: '{{ $labels.instance }} has a clock offset > 1 second.'
summary: '{{ $labels.instance }} has clock drift.'
- alert: DiskWillFillIn8Hours
expr: predict_linear(node_filesystem_free{job="node",mountpoint!~"/tmp|/local|/target/gpfs3"}[2h], 8 * 3600) < 0
expr: predict_linear(node_filesystem_free{job="node",mountpoint!~"/tmp|/local|/target/gpfs3",fstype!~"fuse.+?"}[2h], 8 * 3600) < 0
for: 2h
labels:
severity: page
@ -35,7 +35,7 @@ groups: @@ -35,7 +35,7 @@ groups:
description: Instance {{ $labels.instance }} will fill up within 8 hours
summary: '{{ $labels.instance }} disk full'
- alert: DiskWillFillIn72Hours
expr: predict_linear(node_filesystem_free{job="node",mountpoint!~"/tmp|/local|/target/gpfs3"}[6h], 72 * 3600) < 0
expr: predict_linear(node_filesystem_free{job="node",mountpoint!~"/tmp|/local|/target/gpfs3",fstype!~"fuse.+?"}[6h], 72 * 3600) < 0
for: 8h
labels:
severity: page
@ -161,7 +161,6 @@ groups: @@ -161,7 +161,6 @@ groups:
annotations:
description: 'assoc_usage_month table rows lost'
summary: 'assoc_usage_month table rows lost'
# - alert: TestAlert
# expr: probe_success{instance="195.169.22.220:11211",job="blackbox"} == 0

Loading…
Cancel
Save