---
title: "Database - Etcd Opspack"
description: ""
url: "https://docs.itrsgroup.com/docs/opsview/6.11.7/opspacks/database-etcd-opspack/index.html"
---
etcd is a distributed key/value store that provides a reliable way to store data across a cluster of machines. It’s open-source and available on GitHub. etcd gracefully handles leader elections during network partitions and will tolerate machine failure, including the leader.

## What You Can Monitor

Monitors the performance and system status for an etcd database v2 and v3.

Note: etcd version 3 is only supported when running etcd with API Version 2

## Service Checks

| Service Check                         | Description                                                                                                      |
|:--------------------------------------|:-----------------------------------------------------------------------------------------------------------------|
| Etcd - Client Sent and Received Bytes | Sent and Received bytes for client (calculated using TimeSeries counter feature to work out the rate of change)  |
| Etcd - Durations                      | The latency durations of commits called by backend and fsync called by wal                                       |
| Etcd - File Descriptors               | Max number and current number of file descriptors                                                                |
| Etcd - HTTP Requests Made             | Total number of HTTP requests made (calculated using TimeSeries counter feature to work out the rate of change)  |
| Etcd - Leader Changes Seen            | The number of changes to the leader (calculated using TimeSeries counter feature to work out the rate of change) |
| Etcd - Proposals                      | Number of proposals applied, committed, pending and failed to the system                                         |
| Etcd - Watchers                       | Number of current watchers                                                                                       |

## Setup and Configuration

### Add the Host Template

Add the **Database - Etcd** Host Template to your Opsview Monitor host.

![Add Host Template](https://docscdn.itrsgroup.com/opsview/images/opspacks-database-etcd-add_etcd_host.png)


**Note**


For more information, refer to the documentation on [Adding Host Templates to Hosts](https://docs.itrsgroup.com/docs/opsview/6.11.7/host/index.html#host-templates).



### Add and configure variables required for this host

| Variable | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|:---------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ETCD     | Used to override the API version and port number.                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ETCD_TLS | Used to enable and configure TLS connections to Etcd. To enable set TLS Enabled Flag to `--tls`. Setting CA Path enables a custom CA to be included in the server certificate checking, and Certificate Path and Key Path are the client certificate and associated private key. 
**Opsview Cloud**

 For Opsview Cloud customers, please contact [ITRS Support](https://www.itrsgroup.com/about/contact) for assistance with certificate files, as it requires Orchestrator access. 
 |

![Add Variables](https://docscdn.itrsgroup.com/opsview/images/opspacks-database-etcd-add_etcd_variables.png)


**Note**


For more information, refer to the documentation on [Adding Variables to Hosts](https://docs.itrsgroup.com/docs/opsview/6.11.7/adding-a-new-variable/index.html#adding-a-variable-to-a-host).



### Apply Changes

Apply Changes and the system will then be monitored:

![View Host Service Checks](https://docscdn.itrsgroup.com/opsview/images/opspacks-database-etcd-output.png)


