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"