feat: alert CRITICAL on degraded or suspended ZFS pools
This commit is contained in:
+14
-2
@@ -103,8 +103,20 @@ THRESHOLD_DEFAULTS = {
|
||||
'status_code': {
|
||||
'display': '{check_name} {output}',
|
||||
'operator': "nagios"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
'zfs_monitor': {
|
||||
'pools': {
|
||||
'*': {
|
||||
'health_ok': {
|
||||
'critical': 1,
|
||||
'operator': '<',
|
||||
'hysteresis': 0.0,
|
||||
'display': 'ZFS pool {pool_name} is {health}',
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user