Skip to content
Snippets Groups Projects
Commit 37324be6 authored by skorpy's avatar skorpy :construction_worker:
Browse files

prometheus: remove wrong %

parent 3b450ef7
Branches
No related tags found
No related merge requests found
Pipeline #40048 passed
......@@ -159,8 +159,8 @@ groups:
temp files, or remove old apt packages with `apt-get autoremove`
runbook: troubleshooting/filesystem_alerts.md
value: '{{ $value | humanize }}%'
device: '{{ $labels.device }}%'
mount_point: '{{ $labels.mountpoint }}%'
device: '{{ $labels.device }}'
mount_point: '{{ $labels.mountpoint }}'
- alert: NoDiskSpace
expr: instance:node_filesystem_avail:ratio{fstype=~"(ext.|xfs)",job="node"} * 100 <= 1
for: 15m
......@@ -171,8 +171,8 @@ groups:
title: '1% disk space left'
description: "There's only 1% disk space left"
value: '{{ $value | humanize }}%'
device: '{{ $labels.device }}%'
mount_point: '{{ $labels.mountpoint }}%'
device: '{{ $labels.device }}'
mount_point: '{{ $labels.mountpoint }}'
- alert: NoDiskSpace
expr: node_filesystem_avail_bytes{fstype=~"(ext.|xfs)",mountpoint!="/boot",job="node"} / 1024 / 1024 < 1024
for: 15m
......@@ -182,9 +182,9 @@ groups:
annotations:
title: '1GB disk space left'
description: "There's only 1GB disk space left"
value: '{{ $value | humanize }}%'
device: '{{ $labels.device }}%'
mount_point: '{{ $labels.mountpoint }}%'
value: '{{ $value | humanize }}'
device: '{{ $labels.device }}'
mount_point: '{{ $labels.mountpoint }}'
- alert: HighInodeUsage
expr: node_filesystem_files_free{fstype=~"(ext.|xfs)",job="node"} / node_filesystem_files{fstype=~"(ext.|xfs)",job="node"}
* 100 <= 20
......@@ -199,8 +199,8 @@ groups:
temp files"
runbook: troubleshooting/filesystem_alerts_inodes.md
value: '{{ $value | printf "%.2f" }}%'
device: '{{ $labels.device }}%'
mount_point: '{{ $labels.mountpoint }}%'
device: '{{ $labels.device }}'
mount_point: '{{ $labels.mountpoint }}'
- name: Node Components
interval: 1m
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment