Network Performance Monitoring is now generally available! Network Monitoring is now available!

Vault

Agent Check Agent Check

Supported OS: Linux Mac OS Windows

Overview

This check monitors Vault cluster health and leader changes.

Setup

Follow the instructions below to install and configure this check for an Agent running on a host. For containerized environments, see the Autodiscovery Integration Templates for guidance on applying these instructions.

Installation

The Vault check is included in the Datadog Agent package. No additional installation is needed on your server.

Configuration

  1. Edit the vault.d/conf.yaml file, in the conf.d/ folder at the root of your Agent’s configuration directory to start collecting your vault performance data. See the sample vault.d/conf.yaml for all available configuration options.

  2. Restart the Agent.

Validation

Run the Agent’s status subcommand and look for vault under the Checks section.

Data Collected

Metrics

vault.is_leader
(gauge)
1 if leader 0 otherwise

Events

vault.leader_change: This event fires when the cluster leader changes.

Service Checks

vault.can_connect: Returns CRITICAL if the Agent cannot connect to Vault, otherwise OK.

vault.unsealed: Returns CRITICAL if Vault is sealed, otherwise OK.

vault.initialized: Returns CRITICAL if Vault is not yet initialized, otherwise OK.

Troubleshooting

Need help? Contact Datadog support.

Further Reading

Additional helpful documentation, links, and articles:


Mistake in the docs? Feel free to contribute!