summaryrefslogtreecommitdiffstats
path: root/krebs/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-07-20 17:24:08 +0200
committerlassulus <lassulus@lassul.us>2022-07-20 17:24:08 +0200
commit42e91b31915fd4f5e5bab5bb0045691975d223d5 (patch)
tree57d79193dcdaee3172a4f7fae2e54981c4aea731 /krebs/2configs
parent2c03c42bd62e6890f4193e3023b286a80e6d1dcd (diff)
parent89d04e250514a3dc1c8f4dd6e073cdfe6b3f4a05 (diff)
Merge remote-tracking branch 'gum/22.05'
Diffstat (limited to 'krebs/2configs')
-rw-r--r--krebs/2configs/shack/glados/default.nix1
-rw-r--r--krebs/2configs/shack/prometheus/alert-rules.nix4
2 files changed, 2 insertions, 3 deletions
diff --git a/krebs/2configs/shack/glados/default.nix b/krebs/2configs/shack/glados/default.nix
index e7860338c..7c941a66a 100644
--- a/krebs/2configs/shack/glados/default.nix
+++ b/krebs/2configs/shack/glados/default.nix
@@ -46,7 +46,6 @@ in {
services.home-assistant =
{
enable = true;
- autoExtraComponents = true;
package = unstable.home-assistant.overrideAttrs (old: {
doInstallCheck = false;
});
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";