# check_es_state

Checks cluster health state of ElasticSearch

## Requirements

- Python3 min. version 3.5 must be installed
- If not already installed: Python3 "requests"

## Returns

- OK: Cluster is healthy (status is "green")
- WARN: Cluster state is warning (status is "yellow")
- CRIT: There are multiple causes if state is critical
     - Cluster state is critical (status is "red").
     - ElasticSearch HTTP Server is unreachable
     - Received invalid response from server
