endpoints:
  - name: docker01
    group: swarm
    url: "icmp://192.168.1.41"
    interval: 60s
    ui:
      resolve-successful-conditions: true
    conditions: ["[CONNECTED] == true"]

  - name: docker02
    group: swarm
    url: "icmp://192.168.1.42"
    interval: 60s
    ui:
      resolve-successful-conditions: true
    conditions: ["[CONNECTED] == true"]

  - name: docker03
    group: swarm
    url: "icmp://192.168.1.43"
    interval: 60s
    ui:
      resolve-successful-conditions: true
    conditions: ["[CONNECTED] == true"]

  - name: swarm vip
    group: swarm
    url: "icmp://192.168.1.45"
    interval: 60s
    ui:
      resolve-successful-conditions: true
    conditions: ["[CONNECTED] == true"]

  - name: nginx proxy manager
    group: swarm
    url: "http://192.168.1.45:181"
    interval: 60s
    ui:
      resolve-successful-conditions: true
    conditions: ["[STATUS] == 200"]

  - name: traefik
    group: swarm
    url: "http://traefik_traefik:8080/api/version"
    interval: 60s
    ui:
      resolve-successful-conditions: true
    conditions:
      - "[STATUS] == 200"
      - "has([BODY].Version) == true"

  - name: traefik by name
    group: swarm
    url: "https://auth.mydomain.com/ping"
    interval: 60s
    ui:
      resolve-successful-conditions: true
    conditions:
      - "[STATUS] == 200"
      - "[BODY] == OK"

  - name: bentopdf
    group: swarm
    url: "http://192.168.1.45:8091/"
    interval: 60s
    ui:
      resolve-successful-conditions: true
    conditions: ["[STATUS] == 200"]

  - name: omni-tools
    group: swarm
    url: "http://192.168.1.45:8090/"
    interval: 60s
    ui:
      resolve-successful-conditions: true
    conditions: ["[STATUS] == 200"]

  - name: apprise
    group: swarm
    url: "http://192.168.1.45:8050/status"
    interval: 60s
    ui:
      resolve-successful-conditions: true
    conditions: ["[STATUS] == 200", "[BODY] == OK"]

  - name: unifiapibrowser
    group: swarm
    url: "http://192.168.1.45:8010/"
    interval: 120s
    ui:
      resolve-successful-conditions: true
    conditions: ["[STATUS] == 200", "[BODY] == pat(*UniFi API Browser*)"]

  - name: portainer
    group: swarm
    url: "http://192.168.1.45:9000/api/system/status"
    interval: 60s
    ui:
      resolve-successful-conditions: true
    conditions:
      - "[STATUS] == 200"

  - name: homepage
    group: swarm
    url: "http://192.168.1.45:3000/api/healthcheck"
    interval: 60s
    ui:
      resolve-successful-conditions: true
    conditions: ["[STATUS] == 200"]

  - name: dozzle
    group: swarm
    url: "http://192.168.1.41:8888/healthcheck"
    interval: 60s
    ui:
      resolve-successful-conditions: true
    conditions: ["[STATUS] == 200"]

  - name: glances docker01
    group: swarm
    url: "http://192.168.1.41:61208/api/4/quicklook"
    interval: 120s
    ui:
      resolve-successful-conditions: true
    conditions:
      - "[STATUS] == 200"
      - "[BODY].mem > 0"

  - name: glances docker02
    group: swarm
    url: "http://192.168.1.42:61208/api/4/quicklook"
    interval: 120s
    ui:
      resolve-successful-conditions: true
    conditions:
      - "[STATUS] == 200"
      - "[BODY].mem > 0"

  - name: glances docker03
    group: swarm
    url: "http://192.168.1.43:61208/api/4/quicklook"
    interval: 120s
    ui:
      resolve-successful-conditions: true
    conditions:
      - "[STATUS] == 200"
      - "[BODY].mem > 0"
