Elasticsearch Cluster Health Monitor (with security)

This template contains the components necessary for checking an Elasticsearch cluster's health.

It is the equivalent of running "GET _cluster/health" in Sense or the Kibana console tool, but instead having SolarWinds SAM gather the metrics for historical and alerting reasons.

Successfully tested against ES v2.x, 5.x, and 6.x clusters using SAM poller servers Powershell 4 on Windows Server 2012 R2 and poller servers running Windows Server 2016.

The ideal way to apply this template is to an Elasticsearch Client node (i.e. a node that can process queries) such as a Kibana Client node. Otherwise apply this to an Elasticsearch master node.

This template is a combination of Powershell scripts that poll for data against target Elasticsearch APIs. Execution of the scripts occur from the polling engine.

Requirements:

  • Windows Powershell 4.0 or newer must be installed and working on the SAM poller server.

Pre-requisites for Elasticsearch:

  • Shield or X-Pack security installed and enabled. For those without security enabled, see the other SAM template here.
  • Read-only user account that has enough permissions to read the ES cluster health state via REST API against the target endpoint.

Notes:

  • Last updated 2018.11.26!
  • For every script monitor listed in this template, make sure you change the user and pass for a local user in your own cluster.