
Cloud
check_kube
Description:
This plugin attempts to provide general monitoring for Kubernetes deployments, daemonsets, replicationcontrollers, nodes, as well as Kubernetes components such as etcd, scheduler, and controller
Current Version
Last Release Date
June 11, 2019
Compatible With
- Nagios 3.x
- Nagios 4.x
Owner
License
Apache
Project Files
File | Description |
---|---|
check_kube.sh |
Project Notes
This plugin attempts to provide general monitoring for Kubernetes deployments, daemonsets, replicationcontrollers, nodes, as well as Kubernetes components such as etcd, scheduler, and controller
Some examples:
Kubelet check on node1 - ./check_kube.sh -t node -c Ready -n default -o node1
Deployment check for deployment1 - ./check_kube.sh -t deployment -c Available -n default -o deployment1
Daemonset check for flannel - ./check_kube.sh -t daemonset -n kube-system -c status -o kube-flannel-ds-amd64
Component check for etcd-0 - ./check_kube.sh -t componentstatuses -n default -c status -o etcd-0
kubectl and jq are required for this plugin to work
IMPORTANT - the variable KUBECONFIG must be set correctly. For some reason kubectl doesn't find the .kube/config file when executed under Nagios
While this plugin will work with the default admin config, it is highly recommended to create a read only user for Nagios
Reviews
(0)
Add a Review
Page Sections
Project Stats
Rating
0 (0)
Favorites
0
Views
11,384