Skip to content
Snippets Groups Projects
Commit 69c4fc35 authored by Alex Hanselka's avatar Alex Hanselka
Browse files

Merge branch 'bjk/printf' into 'master'

Add printf to githost.rules

See merge request !4
parents 21612464 22dd43e3
No related branches found
No related tags found
1 merge request!4Add printf to githost.rules
Pipeline #
Loading
Loading
@@ -32,7 +32,7 @@ ALERT NodeFilesystemFull
}
ANNOTATIONS {
summary = "Filesystem is full",
description = "Filesystem '{{ $labels.mountpoint }}' on {{ $labels.instance }} is full: {{ $value }}%",
description = "Filesystem '{{ $labels.mountpoint }}' on {{ $labels.instance }} is full: {{ $value | printf \"%.2f\" }}%",
runbook = "troubleshooting/filesystem_alerts.md",
}
 
Loading
Loading
@@ -44,7 +44,7 @@ ALERT NodeFilesystemFull
}
ANNOTATIONS {
summary = "Filesystem is full",
description = "Filesystem '{{ $labels.mountpoint }}' on {{ $labels.instance }} is full: {{ $value }}%",
description = "Filesystem '{{ $labels.mountpoint }}' on {{ $labels.instance }} is full: {{ $value | printf \"%.2f\" }}%",
runbook = "troubleshooting/filesystem_alerts.md",
}
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment