---
title: "Downtime Manager"
description: ""
url: "https://docs.itrsgroup.com/docs/opsview/6.11.7/administration/distributing-functionality/downtime-manager/index.html"
---
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.

## Dependencies

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.

## Installation

Refer to [Advanced Automated Installation](https://docs.itrsgroup.com/docs/opsview/6.11.7/install/advanced-installation/index.html).

## Configuration

We ship the `opsview-downtimemanager` with its default configuration, which can be modified or overridden by the user.

- default setting: `/opt/opview/downtimemanager/etc/downtimemanager.defaults.yaml`
- custom setting example: `/opt/opsview/downtimemanager/etc/downtimemanager.yaml.example`
- user settings: `/opt/opview/downtimemanager/etc/downtimemanager.yaml`

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>: <value> format.

The **custom setting example** contains an example on how to override default value.

### Configuration options

- `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.

## Management

### Configuration

### DPKGs

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:

```
/opt/opsview/watchdog/etc/services/opsview-downtimemanager.conf
```

### RPMs

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.

```
/opt/opsview/watchdog/etc/services/opsview-downtimemanager.conf
```

### Service Administration

As root, start, stop and restart the service using:
```
/opt/opsview/watchdog/bin/opsview-monit <start|stop|restart> opsview-downtimemanager
```

