fix: agree: zpool ONLINE=OK, DEGRADED=WARNING, all else is CRITICAL
This commit is contained in:
@@ -144,7 +144,8 @@ thresholds:
|
||||
pools:
|
||||
'*':
|
||||
status:
|
||||
critical: 0 # Alert CRITICAL when pool is not ONLINE
|
||||
warning: 1 # Alert WARNING when pool is DEGRADED
|
||||
critical: 2 # Alert CRITICAL when pool is SUSPENDED/FAULTED/UNAVAIL
|
||||
operator: ">"
|
||||
hysteresis: 0.0 # No hysteresis — a degraded pool is always critical
|
||||
display: "ZFS pool {pool_name} is {health}"
|
||||
|
||||
Reference in New Issue
Block a user