Go to file
2022-07-28 17:22:59 +03:00
defaults add monit service role 2022-01-28 12:16:58 +03:00
handlers add monit service role 2022-01-28 12:16:58 +03:00
meta add monit service role 2022-01-28 12:16:58 +03:00
tasks add monit templates 2022-01-28 12:34:11 +03:00
templates update monitrc.j2 2022-01-28 12:38:41 +03:00
.gitignore add gitignore 2022-07-28 17:22:59 +03:00
README.md add monit templates 2022-01-28 12:34:11 +03:00

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"