summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-06-07 20:27:23 +0200
committermakefu <github@syntax-fehler.de>2022-06-07 20:27:23 +0200
commit8bdad98af7dd6b55fe30428783d0831625daa79a (patch)
treeb667225d77b7faff733bcfc6bc3e481116e16484 /krebs/2configs/shack
parent53855cd2d0dadb159215c5ed12e6d0be02dca98b (diff)
k shack: rename RootParititionFull
Diffstat (limited to 'krebs/2configs/shack')
-rw-r--r--krebs/2configs/shack/prometheus/alert-rules.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/2configs/shack/prometheus/alert-rules.nix b/krebs/2configs/shack/prometheus/alert-rules.nix
index 65e5d9005..5ba49ede6 100644
--- a/krebs/2configs/shack/prometheus/alert-rules.nix
+++ b/krebs/2configs/shack/prometheus/alert-rules.nix
@@ -8,7 +8,7 @@ in {
{ name = "shack-env";
rules = [
{
- alert = "RootPartitionFull";
+ alert = "Wolf RootPartitionFull";
for = "30m";
expr = ''(node_filesystem_avail_bytes{alias="wolf.shack",mountpoint="/"} * 100) / node_filesystem_size_bytes{alias="wolf.shack",mountpoint="/"} < ${disk_free_threshold}'';
labels.severity = "warning";
@@ -24,7 +24,7 @@ in {
6. as a last resort the root disk can be expanded via `lvresize -L +10G /dev/pool/root && btrfs filesystem resize max /` '';
}
{
- alert = "RootPartitionFull";
+ alert = "Puyak RootPartitionFull";
for = "30m";
expr = ''(node_filesystem_avail_bytes{alias="puyak.shack",mountpoint="/"} * 100) / node_filesystem_size_bytes{alias="puyak.shack",mountpoint="/"} < ${disk_free_threshold}'';
labels.severity = "warning";