mob next [ci-skip] [ci skip] [skip ci]

lastFile:modules/clan/prometheus/default.nix
This commit is contained in:
2026-06-19 15:41:01 +07:00
parent 6d2e73267f
commit 50622270ec
2 changed files with 15 additions and 19 deletions
+15 -2
View File
@@ -103,11 +103,24 @@
expr = "smartctl_device_error_log_count > 0";
for = "5m";
labels = {
severity = "medium";
severity = "critical";
};
annotations.summary = ''
Errors occur on {{ $labels.job }}
Disk {{ $labels.device }}
Disk {{ $labels.device }} {{ $value }}
{{ $labels.instance }}
'';
}
{
alert = "ZFSPoolsHealth";
expr = "zfs_pool_health > 0";
for = "5m";
labels = {
severity = "critical";
};
annotations.summary = ''
Unhealthy Pool at {{ $labels.job }}
Pool {{ $labels.pool }} value {{ $value }}
{{ $labels.instance }}
'';
}