mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 22:26:22 +00:00
27 lines
776 B
Text
27 lines
776 B
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
|