fix: change health_ok to status
This commit is contained in:
@@ -268,9 +268,9 @@ The default threshold is equivalent to:
|
||||
zfs_monitor:
|
||||
pools:
|
||||
'*':
|
||||
health_ok:
|
||||
status:
|
||||
critical: 1
|
||||
operator: "<"
|
||||
operator: ">"
|
||||
hysteresis: 0.0
|
||||
display: "ZFS pool {pool_name} is {health}"
|
||||
```
|
||||
@@ -285,7 +285,7 @@ zfs_monitor:
|
||||
pools:
|
||||
# Suppress health alerts for a scratch pool (not mission-critical)
|
||||
scratch:
|
||||
health_ok:
|
||||
status:
|
||||
enabled: false
|
||||
|
||||
# Capacity threshold for a specific pool
|
||||
@@ -297,12 +297,12 @@ zfs_monitor:
|
||||
hysteresis: 0.05
|
||||
```
|
||||
|
||||
**Alert state paths** follow the pattern `zfs_monitor.<pool_name>.health_ok`,
|
||||
**Alert state paths** follow the pattern `zfs_monitor.<pool_name>.status`,
|
||||
so acknowledgements and silences target individual pools:
|
||||
|
||||
```
|
||||
zfs_monitor.tank.health_ok
|
||||
zfs_monitor.backup.health_ok
|
||||
zfs_monitor.tank.status
|
||||
zfs_monitor.backup.status
|
||||
```
|
||||
|
||||
### Network Monitor
|
||||
|
||||
Reference in New Issue
Block a user