The Opsview Downtime Manager purpose is to:
- Receive downtime requests from the orchestrator API:
- Plan a new downtime.
- Cancel a current or future downtime.
- Maintain the downtime status of services, host, and downtime history.
This component requires access to the opsview MySQL database, to the Opsview Message Queue and the Opsview DataStore.
You will also need to ensure the
mysql client binary is installed.
Refer to Advanced Automated Installation.
We ship the
opsview-downtimemanager with its default configuration, which can be modified or overridden by the user.
- default setting:
- custom setting example:
- user settings:
Default settings are restored on upgrade/installation, user settings are left as defined by the user. The setting files follow the YAML file format; setting are stored in a <setting_name>:
The custom setting example contains an example on how to override default value.
runtime_database: configuration for the Runtime database.
downtime_queue: the message-queue configuration to receive downtime messages.
downtime_store: the data-store configuration.
registry: connection configuration for the Registry.
logging: component logging configuration.
Watchdog service files are now managed by the package, doing a remove would leave the watchdog service file behind with a .save extension. Purging the package will remove it. The package managed config files:
Watchdog service files are now managed by the package. Any modifications will be saved at upgrade and remove processes with the .rpmnew and .rpmsave extenstions correspondingly.
As root, start, stop and restart the service using:
/opt/opsview/watchdog/bin/opsview-monit <start|stop|restart> opsview-downtimemanager