Elasticsearch
You can use the Elasticsearch plugin to monitor your cluster health and sharding within Elasticsearch. If you can not find this plugin in the /usr/lib/panopta-agent/plugins folder, then your version of the Agent is out of date and you should update it to gain access to this feature.
Agent Configuration
In order to use this plugin, you will have to ensure you can load the /_clusterhealth endpoint locally from your machine. Enter the IP address and port for the /_clusterhealth endpoint into your Agent Config file as shown below:
[elasticsearch]
hostname = 127.0.0.1
port = 1313
username =
password =
Note:The Username and Password fields are optional.
Control Panel Configuration
To add an ElasticSearch agent resource to your server, read Add FortiMonitor Agent checks. To use the ElasticSearch plugin, first select ElasticSearch from the monitoring catalog.
There are a number of available metrics to choose from.
Metric |
Unit |
---|---|
Number of active primary shards |
shards |
Number of data nodes in cluster |
nodes |
Number of initializing shards |
shards |
Number of shards getting relocated |
shards |
Number of unassigned shards |
shards |
Total number of nodes in a cluster |
nodes |
Total number of shards |
shards |
From the configuration screen, you can choose the frequency of the check, the alert schedule, set thresholds, and tag the check.
If you have any additional questions, please contact our support team.