elasticsearch-watchdog
Version:
A watchdog of elasticsearch - cluster nodes' statuses monitor, auto restart, keep PRIMARY node unique.
13 lines • 521 B
YAML
watchdog.name: single-node
watchdog.frequency: critical
nodes.elasticsearch: ["192.168.1.119"]
nodes:
ssh:
- host: 192.168.1.119
port: 22
username: root
password: 86587c87ff8820487f58a01212e01c46
es_stop: kill -9 `cat /Users/tjatse/Downloads/ElasticSearch/elasticsearch-1.3.2/pid`
es_start: /Users/tjatse/Downloads/ElasticSearch/elasticsearch-1.3.2/bin/elasticsearch -d -p /Users/tjatse/Downloads/ElasticSearch/elasticsearch-1.3.2/pid -Xmx8G -Xms8G
http.wait: 5m
http.retry: 3