mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 11:06:23 +00:00
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
check process sutty with pidfile /srv/tmp/puma.pid
|
|
start program = "/usr/local/bin/sutty start"
|
|
stop program = "/usr/local/bin/sutty stop"
|
|
|
|
check process prometheus with pidfile /tmp/prometheus.pid
|
|
start program = "/usr/local/bin/sutty prometheus start"
|
|
stop program = "/usr/local/bin/sutty prometheus start"
|
|
|
|
check program blazer_5m
|
|
with path "/usr/local/bin/sutty blazer 5m"
|
|
every 5 cycles
|
|
if status != 0 then alert
|
|
|
|
check program blazer_1h
|
|
with path "/usr/local/bin/sutty blazer 1h"
|
|
every 60 cycles
|
|
if status != 0 then alert
|
|
|
|
check program blazer_1d
|
|
with path "/usr/local/bin/sutty blazer 1d"
|
|
every 1440 cycles
|
|
if status != 0 then alert
|
|
|
|
check program blazer
|
|
with path "/usr/local/bin/sutty blazer"
|
|
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
|