5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-18 13:42:20 +00:00
panel/monit.conf

26 lines
933 B
Plaintext
Raw Normal View History

2022-04-15 13:57:51 +00:00
# Limpiar mensualmente
check program cleanup
2022-06-11 22:52:38 +00:00
with path "/usr/bin/foreman run -f /srv/Procfile -d /srv cleanup" as uid "rails" gid "www-data"
2022-04-15 13:57:51 +00:00
every "0 3 1 * *"
2020-05-29 18:03:24 +00:00
if status != 0 then alert
check program distributed_press_tokens_renew
with path "/usr/bin/foreman run -f /srv/Procfile -d /srv distributed_press_tokens_renew" as uid "rails" gid "www-data"
every "0 3 * * *"
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
check program distributed_press_tokens_renew
with path "/usr/bin/foreman run -f /srv/Procfile -d /srv distributed_press_tokens_renew" as uid "rails" gid "www-data"
every "0 3 * * *"
if status != 0 then alert