configuration-templates
/monit/debian/templates/corrade-elasticsearch-feedback |
@@ -0,0 +1,9 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
########################################################################### |
|
check process corrade-elasticsearch-feedback matching "corrade\-elasticsearch\-feedback" |
start program "/bin/systemctl start corrade-elasticsearch-feedback" |
stop program "/bin/systemctl stop corrade-elasticsearch-feedback" |
#if failed port 9200 type tcp then restart |
# if 5 restarts within 5 cycles then timeout |
/monit/debian/templates/corrade-elasticsearch-heartbeat |
@@ -0,0 +1,9 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
########################################################################### |
|
check process corrade-elasticsearch-heartbeat matching "corrade\-elasticsearch\-heartbeat" |
start program "/bin/systemctl start corrade-elasticsearch-heartbeat" |
stop program "/bin/systemctl stop corrade-elasticsearch-heartbeat" |
#if failed port 9200 type tcp then restart |
# if 5 restarts within 5 cycles then timeout |
/monit/debian/templates/elasticsearch |
@@ -0,0 +1,9 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
########################################################################### |
|
check process elasticsearch with pidfile /var/run/elasticsearch/elasticsearch.pid |
start program "/bin/systemctl start elasticsearch" |
stop program "/bin/systemctl stop elasticsearch" |
if failed port 9200 type tcp then restart |
# if 5 restarts within 5 cycles then timeout |
/monit/debian/templates/kibana |
@@ -0,0 +1,4 @@ |
check process kibana matching "node.*?kibana" |
start = "/bin/systemctl start kibana" |
stop = "/bin/systemctl stop kibana" |
if failed port 5601 protocol http then restart |