Configuring Self-Health Monitoring for TrueSight Presentation Server Elasticsearch
After you have installed BMC PATROL for Elasticsearch, you must configure the Solution. BMC recommends you to use a monitoring policy to configure the KM and setup thresholds.
For more information on creating a monitoring policy and configuring Elasticsearch monitoring, see Defining a monitoring policy and Configuring Elasticsearch KM for TrueSight console.
Configuring the monitoring policy
To set up Elasticsearch monitoring, you must configure the Elasticsearch to listen to port 9200. By default, this port is disabled in the Presentation Server environment. You can enable the port by setting the configuration variable http.enabled to true in the elasticsearch.yml configuration file. The configuration file can be located in the following directory:
- (Linux) <TRUESIGHTPSERVER_HOME>/truesightpserver/modules/elasticsearch/config/
- (Windows) <TRUESIGHTPSERVER_HOME>\truesightpserver\modules\elasticsearch\config\
The following table will help you choose the values for setting up extended the monitoring policy:
Variable | Value |
---|---|
Label | Specify a label to be used as a display name. For expamle, TSPS. |
Hostname | Specify the host name or the IP address of the Presentation Server. |
Postnumber | Specify the port used during the Presentation Server installation. The default port is 9200. |
Java Home | Specify the JAVA_HOME path or the JRE installation directory. For the Presentation Server, the default JRE path is:
|
Setting up the thresholds for Presentation Server Elasticsearch
In addition to configuring the monitoring solution, the policy must also include the thresholds settings to monitor the health of the database. The following table contains a list of threshold values that can be used to monitor the health of the Presentation Server Elasticsearch database.