An open API service indexing awesome lists of open source software.

https://github.com/telekom-mms/check_kubernetes

Nagios/Icinga Checks for Kubernetes Nodes and Pods
https://github.com/telekom-mms/check_kubernetes

Last synced: about 2 months ago
JSON representation

Nagios/Icinga Checks for Kubernetes Nodes and Pods

Awesome Lists containing this project

README

        

# Nagios/Icinga Checks for Kubernetes

[![Build Status](https://travis-ci.org/T-Systems-MMS/check_kubernetes.svg?branch=master)](https://travis-ci.org/T-Systems-MMS/check_kubernetes)

You will need a kubeconfig file for both checks.

## Python Compatibility

Python 2.7.x or Python >= 3.4

## check_nodes.py

Checks the State of your nodes via the Kubernetes API. One node with Problems is a warning, two nodes are critical. Perfdata are supplied.

### Usage
```
usage: check_nodes.py [-h] [--kube-config KUBE_CONFIG]

optional arguments:
-h, --help show this help message and exit
--kube-config KUBE_CONFIG
Kubernetes Config File
```

## check_pods.py

Checks the State of all pods in the Kubernetes Cluster.

### Usage
```
usage: check_pods.py [-h] [--kube-config KUBE_CONFIG]
[--warning-pending WARNING_PENDING]
[--critical-pending CRITICAL_PENDING]
[--warning-running WARNING_RUNNING]
[--critical-running CRITICAL_RUNNING]
[--warning-succeeded WARNING_SUCCEEDED]
[--critical-succeeded CRITICAL_SUCCEEDED]
[--warning-failed WARNING_FAILED]
[--critical-failed CRITICAL_FAILED]
[--warning-unknown WARNING_UNKNOWN]
[--critical-unknown CRITICAL_UNKNOWN]

optional arguments:
-h, --help show this help message and exit
--kube-config KUBE_CONFIG
Kubernetes Config File
--warning-pending WARNING_PENDING
--critical-pending CRITICAL_PENDING
--warning-running WARNING_RUNNING
--critical-running CRITICAL_RUNNING
--warning-succeeded WARNING_SUCCEEDED
--critical-succeeded CRITICAL_SUCCEEDED
--warning-failed WARNING_FAILED
--critical-failed CRITICAL_FAILED
--warning-unknown WARNING_UNKNOWN
--critical-unknown CRITICAL_UNKNOWN
```