Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Recommended way to monitor sealed/unsealed status? #346

Open
cpick opened this issue Sep 24, 2018 · 2 comments
Open

Recommended way to monitor sealed/unsealed status? #346

cpick opened this issue Sep 24, 2018 · 2 comments

Comments

@cpick
Copy link

cpick commented Sep 24, 2018

I have a vault-operator-installed cluster that I'm monitoring with Prometheus. The StatsD exporter provides some metrics, but I am looking for a way to track the number of sealed/unsealed vault instances. (For example: I'd like to trigger an alert when a certain number of nodes are unsealed.)

I know that vault-operator keeps the VaultService resource's "status" section up to date with this information, but I haven't found a convenient way to get this information into Prometheus.

I've found the vault_exporter tool, perhaps that can be installed as a sidecar alongside the StatsD exporter?

cpick pushed a commit to cpick/vault-operator that referenced this issue Sep 24, 2018
Run [`vault_exporter`](https://github.com/grapeshot/vault_exporter) as a
sidecar to allow Prometheus to import `vault` status metrics (eg:
whether it's initialized or sealed).

Closes coreos#346.
@matyix
Copy link
Member

matyix commented Dec 3, 2018

@cpick - the Banzai Cloud Vault operator does monitor this (and other stuff as well), with charts, etc included. You might want to check this post: https://banzaicloud.com/blog/monitoring-vault-grafana/

@cpick
Copy link
Author

cpick commented Dec 3, 2018

I created PR #347 with the solution I landed on.
@matyix if we didn't already have a CoreOS vault-operator installation and we were installing from scratch I think we would go with Banzai Cloud Vault operator. It seems to be more feature complete and, more importantly, actively maintained :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants