monit/README.md
2022-01-28 12:34:11 +03:00

452 B

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"