A Nagios check to verify the status of a Kubernetes cluster resources
If you would rather not build the binaries yourself, you can install compiled, statically-linked binaries
./build.sh
# Binary will be in the build folder
NAME:
check_kube_nodes - Nagios check to verify Kubernetes resources status
USAGE:
check_kube [global options] command [command options] [arguments...]
VERSION:
0.3.0
COMMANDS:
node, n check node status
pod, p check pod status
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--api-endpoint Kubernetes API Endpoint
--username Kubernetes API Username
--password Kubernetes API Password
--skip-tls-verify Skip TLS certificate verification
--help, -h show help
--version, -v print the version
--api-endpoint
: Here you specify your Kubernetes API endpoint URL.
--username
: Kubernetes API Username for basic authentication
--password
: Kubernetes API Password for basic authentication
--skip-tls-verify
:Skip TLS certificate verification when you have a self-signed certificate.
- Token-based authentication
- TLS certificate authentication
- Implement replicationController status checking
- Implement service status checking
Contributions are more than welcome. Bug reports with specific reproduction steps are great. If you have a code contribution you'd like to make, open a pull request with suggested code.