Nagios/Checkmk-compatible SSHMon-check for Elasticsearch-Clusters
- Download latest Release
- Move binary to
/usr/local/bin/sshmon_check_elasticsearch
$> sshmon_check_elasticsearch -service Elasticsearch_testcluster.default -dns 10.96.0.10:53 -host testcluster.default.svc.cluster.local
Usage of sshmon_check_elasticsearch:
-dns string
Use alternate dns server
-host string
Host
-port int
Port (default 9200)
-service string
Service name (defaults to Elasticsearch_<host>)
-v Print the version info and exit
Output:
0 Elasticsearch_testcluster.default - OK - Elasticsearch cluster 'testcluster' on testcluster.default.svc.cluster.local has status 'green'
Version | Tested |
---|---|
v7 | Yes |
$> make --always-make
$> BUILD_VERSION=1.1.0 make --always-make