{"repo":"madrisan/hashicorp-vault-monitor","free":true,"listed":false,"github":"https://github.com/madrisan/hashicorp-vault-monitor","clone":"git clone https://github.com/madrisan/hashicorp-vault-monitor.git","description":":key: HashiCorp Vault Monitoring Tool","language":"Go","stars":25,"topics":["monitoring","monitoring-plugins","hashicorp-vault","go","golang","cli-app","monitor-vault","nagios-plugin"],"license":"MPL-2.0","category":"analytics","readme_excerpt":"Hashicorp Vault Monitor How to build the source code Optionally if you want to compile this tool for all the supported operating systems: You'll find the compiled binaries in the folder $GOPATH//src/github.com/madrisan/hashicorp-vault-monitor/pkg/ . How to use the hashicorp-vault-monitor tool Export the Hashicorp Vault server url in the variable VAULT ADDR If you do not have a running Vault server and you want to test this monitoring tool, you can run a dockerized version of the latest version (requires Docker or Podman). Then run the export VAULT ADDR ... command from the terminal output (replace docker by podman if you use the latter and do not have the podman Docker CLI emulation configured). We can now create (in a different terminal, if you run the dockerized version of the Vault server) a Vault policy that we'll use later in the examples (you can find the binary vault here): and two extra (non-root) tokens: Note that the policies applied to the tokens are different. Monitoring the status (unsealed/sealed) Add the output modifier -output=nagios if this tool is intented to be used with the Nagios monitoring. Example of output # default output message Vault (vault-cluster-50531563) is unsealed # with the '-output=nagios' switch vault OK - Vault (vault-cluster-50531563) is unsealed Monitoring the HA Cluster Status Add -output=nagios as above if you monitor Vault with Nagios. Example of output # default output message Vault HA (vault-cluster-50531563) is enabled, Standby Nod","default_branch":null,"files":null,"tree":[],"storefront":"/r/madrisan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/madrisan/hashicorp-vault-monitor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}