Elastic search monitor

I don’t understand what you want to do. @martin.schwarz and I said before you should execute the special agent with the “–debug” option to get some error messages if there are errors.
The special agent must be executed inside your monitoring site as the site user.

The agent call with debug option should look like this

/omd/sites/<your site>/share/check_mk/agents/special/agent_elasticsearch --debug -P https -m "cluster_health nodes stats" -p 9200 elastichost

If your port is 9200 and you don’t want to change the queried modules you can omit these options like this

/omd/sites/<your site>/share/check_mk/agents/special/agent_elasticsearch --debug elastichost

Output from my example host

OMD[dev]:~$ cd share/check_mk/agents/special/
OMD[dev]:~/share/check_mk/agents/special$ ./agent_elasticsearch -P http 172.17.120.81
<<<check_mk>>>
<<<elasticsearch_cluster_health>>>
cluster_name docker-cluster
status green
timed_out False
number_of_nodes 1
number_of_data_nodes 1