This package provides Nagios-compatible plugins to verify the operation of OpenShift clusters.
- Ubuntu 16.04 LTS
oc
binary
The plugins are tested with Icinga 2.5 or newer, but they should also work with other consumers of Nagios-compatible plugins.
Install the plugins from our Ubuntu PPA, or build the Debian packages from source.
Each plugin has a list of parameters available using the argument -h
.
Check whether the monitoring data in Hawkular has been updated recently.
Check status of all certificates managed and reported on by OpenShift Ansible.
Collect statistics from Elasticsearch instance (i.e. part of the aggregated logging system) with optional limits.
Check status of a node within a cluster.
Check whether a Fluentd pod is running on every machine.
Check whether list of nodes in cluster matches passed list. Reports on unexpected and missing nodes.
Query Elasticsearch to determine whether node has recently submitted timestamped log message to logging component.
Check whether node resources (CPU, memory) are within given limits.
Compute statistics on a number of cluster objects and apply given limits.
Check whether number of running pods for a given namespace and selector is equal to or larger than expected.
Retrieve and apply limits to CPU usage by pods. Requires the OpenShift metrics component.
Retrieve and apply limits to memory usage by pods. Requires the OpenShift metrics component.
Check whether all pods matching given selector are running on disparate nodes.
Retrieve metrics over whole cluster for each recognized pod status, i.e.
Running
or CrashLoopBackOff
.
Check whether all projects are in a healthy status, i.e. active
.
Apply limits to number of available physical volumes for given selector or capacity.
Check for unhealthy persistent volume claims.
Each contribution is very welcome--be it an issue or a pull request. We're happy to accept pull requests so long as they meet the existing code quality and design.
- Fork repository (https://github.com/appuio/nagios-plugins-openshift/fork)
- Create feature branch (
git checkout -b my-new-feature
) - Commit changes (
git commit -av
) - Push to branch (
git push origin my-new-feature
) - Create a pull request