2019-07-26 23:57:11 +00:00
|
|
|
check process sutty with pidfile /srv/http/tmp/puma.pid
|
2020-09-27 17:04:11 +00:00
|
|
|
start program = "/usr/local/bin/sutty sutty"
|
2019-04-08 18:31:29 +00:00
|
|
|
stop program = "/bin/sh -c 'cat /srv/http/tmp/puma.pid | xargs kill'"
|
2019-07-29 18:15:23 +00:00
|
|
|
|
2020-09-18 23:51:52 +00:00
|
|
|
check process prometheus with pidfile /tmp/prometheus.pid
|
2020-09-27 17:04:11 +00:00
|
|
|
start program = "/usr/local/bin/sutty prometheus"
|
2020-09-18 23:51:52 +00:00
|
|
|
stop program = "/bin/sh -c 'cat /tmp/prometheus.pid | xargs kill'"
|
|
|
|
|
2019-07-29 18:15:23 +00:00
|
|
|
check program sync_assets
|
|
|
|
with path /usr/local/bin/sync_assets
|
|
|
|
if status = 0 then unmonitor
|
2020-05-29 18:03:24 +00:00
|
|
|
|
|
|
|
check program blazer_5m
|
|
|
|
with path "/bin/sh -c 'cd /srv/http && foreman start blazer_5m'"
|
|
|
|
as uid "app" and gid "www-data"
|
|
|
|
every 5 cycles
|
|
|
|
if status != 0 then alert
|
|
|
|
|
|
|
|
check program blazer_1h
|
|
|
|
with path "/bin/sh -c 'cd /srv/http && foreman start blazer_1h'"
|
|
|
|
as uid "app" and gid "www-data"
|
|
|
|
every 60 cycles
|
|
|
|
if status != 0 then alert
|
|
|
|
|
|
|
|
check program blazer_1d
|
|
|
|
with path "/bin/sh -c 'cd /srv/http && foreman start blazer_1d'"
|
|
|
|
as uid "app" and gid "www-data"
|
|
|
|
every 1440 cycles
|
|
|
|
if status != 0 then alert
|
|
|
|
|
|
|
|
check program blazer
|
|
|
|
with path "/bin/sh -c 'cd /srv/http && foreman start blazer'"
|
|
|
|
as uid "app" and gid "www-data"
|
|
|
|
every 61 cycles
|
|
|
|
if status != 0 then alert
|