ectomobile/monit.conf

28 lines
793 B
Plaintext

check process ectomobile with pidfile /srv/http/tmp/pids/server.pid
start program = "/usr/local/bin/ectomobile start"
stop program = "/usr/local/bin/ectomobile stop"
check program blazer_5m
with path "/usr/local/bin/ectomobile blazer_5m"
as uid "app" and gid "www-data"
every 5 cycles
if status != 0 then alert
check program blazer_1h
with path "/usr/local/bin/ectomobile blazer_1h"
as uid "app" and gid "www-data"
every 60 cycles
if status != 0 then alert
check program blazer_1d
with path "/usr/local/bin/ectomobile blazer_1d"
as uid "app" and gid "www-data"
every 1440 cycles
if status != 0 then alert
check program blazer
with path "/usr/local/bin/ectomobile blazer"
as uid "app" and gid "www-data"
every 61 cycles
if status != 0 then alert