Skip to main content

Elasticsearch (Deprecated)


This chapter describes the prerequisites installation needed by plugins to run.

Centreon Plugin​

Install this plugin on each needed poller:

yum install centreon-plugin-Applications-Elasticsearch

Remote server​

The remote server must have an elasticsearch instance running and its API available on the port 9200

Centreon Configuration​

Create a host using the appropriate template​

Go to Configuration > Hosts and click Add. Then, fill the form as shown by the following table:

Host nameName of the host
AliasHost description
IPHost IP Address
Monitored fromMonitoring Poller to use
Host Multiple TemplatesApp-Elascticsearch-custom

Click on the Save button.

This service was automatically created for this host:

Cluster-stateMonitor state of cluster
Nodes-countMonitor number of nodes in a cluster
Indices-stateMonitor state of indices in a cluster

Host Macro Configuration​

The following macros must be configured on host:

MacroDescriptionDefault valueExample
ELASTICSEARCHPORTThe Elasticsearch instance port92009200
ELASTICSEARCHPROTOThe Elasticsearch instance protocolhttphttp

Service Macro Configuration​

The following macros must be configured on services:

MacroDescriptionDefault valueExample
URLPATHPath to connect to web inteface//
WARNINGWarning Thresold (number of nodes)2:2:
CRITICALCritical Thresold (number of nodes)1:1: