feat: alert CRITICAL on degraded or suspended ZFS pools

This commit is contained in:
2026-05-08 16:23:49 -04:00
parent 05045bafa2
commit b9db0c552e
3 changed files with 110 additions and 11 deletions
+14 -2
View File
@@ -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}',
}
}
}
},
}
}