fix: agree: zpool ONLINE=OK, DEGRADED=WARNING, all else is CRITICAL
This commit is contained in:
@@ -109,7 +109,8 @@ THRESHOLD_DEFAULTS = {
|
||||
'pools': {
|
||||
'*': {
|
||||
'status': {
|
||||
'critical': 1, # Alert if pool health is not ONLINE
|
||||
'warning': 1,
|
||||
'critical': 2,
|
||||
'operator': '>',
|
||||
'hysteresis': 0.0,
|
||||
'display': 'ZFS pool {pool_name} is {health}'
|
||||
|
||||
@@ -681,7 +681,8 @@ class ThresholdChecker:
|
||||
pools:
|
||||
'*':
|
||||
status:
|
||||
critical: 0
|
||||
warning: 1
|
||||
critical: 2
|
||||
operator: '>'
|
||||
tank:
|
||||
capacity:
|
||||
|
||||
Reference in New Issue
Block a user