configuration-templates
/monit/debian/templates/graylog |
@@ -0,0 +1,9 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ## |
########################################################################### |
|
check process graylog matching "graylog.jar" |
start program "/bin/systemctl start graylog-server" |
stop program "/bin/systemctl stop graylog-server" |
if failed host 127.0.0.1 port 9000 type tcp then restart |
# if 5 restarts within 5 cycles then timeout |