observer
Manage Observer settings
Subcommands
show
Show observer settingsedit
Edit observer settings
show
dbvcli observer show {-d|--name} CONFIGURATION_NAME
Show observer settings
edit
dbvcli observer edit {-d|--name} CONFIGURATION_NAME [--OPTIONS]
Edit observer settings
Option | Type | Description |
---|---|---|
| Y or N | enable or disable the observer |
| string | action to perform after max failures; "notify" to send notifications only, "activate" to perform automatic activation |
| number | how frequently the observer checks the configuration's status, in seconds |
| number | maximum number of failed checks before action is taken |
| Y or N | enable time gap check |
| number | maximum allowed time gap before notification, in seconds |
| Y or N | enable email notifications |
| Y or N | enable slack notifications |
| Y or N | enable heartbeat notifications, which are sent daily to indicate that the observer is running |
| string | time of day to send heartbeat notifications (HH:MM) |
| string | how to use scripts to increment fail count; "disabled" to use only built-in checks, "custom-only" to use only custom scripts, "either" to increment the fail count if either built-in check or custom script fails, "both" to increment the fail count if both built-in check and custom script fails |
| string | primary custom script |
| string | standby custom script |