Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View lilithmooncohen's full-sized avatar

Lily Cohen lilithmooncohen

View GitHub Profile
@woods
woods / check_vault_seal_status.sh
Last active April 6, 2022 10:10
Nagios plugin to make sure Hashicorp Vault is unsealed
#!/bin/bash
# Assumes the following:
# - The `curl` package is installed
# - Vault is listening on the standard port 8200
# - Vault is using https with a valid certificate
# The hostname of the vault server that we're supposed to check.
hostname=$1