5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 16:36:22 +00:00
panel/monit.conf

38 lines
1.1 KiB
Text
Raw Normal View History

2022-03-07 15:49:49 +00:00
check process sutty with pidfile /srv/tmp/puma.pid
start program = "/usr/local/bin/sutty start"
stop program = "/usr/local/bin/sutty stop"
2019-07-29 18:15:23 +00:00
2020-09-18 23:51:52 +00:00
check process prometheus with pidfile /tmp/prometheus.pid
2022-03-07 15:49:49 +00:00
start program = "/usr/local/bin/sutty prometheus start"
stop program = "/usr/local/bin/sutty prometheus start"
2020-09-18 23:51:52 +00:00
2020-05-29 18:03:24 +00:00
check program blazer_5m
2022-03-07 15:49:49 +00:00
with path "/usr/local/bin/sutty blazer 5m"
2020-05-29 18:03:24 +00:00
every 5 cycles
if status != 0 then alert
check program blazer_1h
2022-03-07 15:49:49 +00:00
with path "/usr/local/bin/sutty blazer 1h"
2020-05-29 18:03:24 +00:00
every 60 cycles
if status != 0 then alert
check program blazer_1d
2022-03-07 15:49:49 +00:00
with path "/usr/local/bin/sutty blazer 1d"
2020-05-29 18:03:24 +00:00
every 1440 cycles
if status != 0 then alert
check program blazer
2022-03-07 15:49:49 +00:00
with path "/usr/local/bin/sutty blazer"
2020-05-29 18:03:24 +00:00
every 61 cycles
if status != 0 then alert
check program access_logs
with path "/srv/http/bin/access_logs" as uid "app" and gid "www-data"
every "0 0 * * *"
if status != 0 then alert
check program stats
with path "/usr/bin/foreman run -f /srv/Procfile -d /srv stats" as uid "rails" gid "www-data"
every "0 1 * * *"
if status != 0 then alert