mirror of
https://gitea.0xace.cc/ansible-galaxy/monit.git
synced 2025-04-07 01:11:57 +00:00
16 lines
458 B
Markdown
16 lines
458 B
Markdown
Setup monit service
|
|
|
|
monit:
|
|
configs:
|
|
- name: bird
|
|
data: |
|
|
check process radosgw
|
|
matching "radosgw"
|
|
if does not exist for 1 cycles then exec "/usr/bin/systemctl stop bird"
|
|
|
|
check process haproxy
|
|
matching "haproxy"
|
|
if does not exist for 1 cycles then exec "/usr/bin/systemctl stop bird"
|
|
check_interval: "1"
|
|
|