ui:
  title: "IXVD - Status Page"
  header: "IXVD's Status Page"
  description: "This is the status page for IXVD. Here you can check what's going on!"
  buttons:
    - name: Home
      link: "https://ixvd.net"
    - name: Issues
      link: "https://git.ixvd.net/ixvd/hub/issues"

alerting:
  ntfy:
    url: "https://push.ixvd.net"
    topic: "alerts"
    default-alert:
      failure-threshold: 3
      send-on-resolved: true

x-default-endpoint: &default
  interval: 10m
  group: misc
  ui: &default-ui
    hide-url: true
  conditions: &default-conditions
    - "[CONNECTED] == true"

x-http-endpoint: &default-http
  <<: *default
  group: http
  conditions: &default-http-conditions
    - "[STATUS] == 200"

x-icmp-endpoint: &default-icmp
    <<: *default
    group: icmp

endpoints:

  # SERVERS #

  - name: link
    <<: *default-icmp
    group: servers
    url: "icmp://link.ixvd.net"

  - name: keymaker
    <<: *default-icmp
    group: servers
    url: "icmp://keymaker.ixvd.net"

  - name: apoc
    <<: *default-icmp
    group: servers
    url: "icmp://apoc.ixvd.net"

  - name: kid
    <<: *default-icmp
    group: servers
    url: "icmp://kid.ixvd.net"

  - name: mouse
    <<: *default-icmp
    group: servers
    url: "icmp://mouse.ixvd.net"

  # CLOUD #

  - name: cryptpad
    <<: *default-http
    group: cloud
    url: "https://pad.ixvd.net"

  - name: "cryptpad sandbox"
    <<: *default-http
    group: cloud
    url: "https://pad.sandbox.neo.ixvd.net"
    ui:
      hide-hostname: true

  - name: microbin
    <<: *default-http
    group: cloud
    url: "https://bin.ixvd.net"

  # DEVOPS #

  - name: gitea
    <<: *default-http
    group: devops
    url: "https://git.ixvd.net"

  - name: woodpecker
    <<: *default-http
    group: devops
    url: "https://ci.ixvd.net"

  - name: grafana
    <<: *default-http
    group: devops
    url: "https://grafana.neo.faulty.nl"

  # UTILS #

  - name: shlink
    <<: *default
    group: utils
    url: "tcp://via.ixvd.net:80"

  - name: ntfy
    <<: *default-http
    group: utils
    url: "https://push.ixvd.net"

  - name: speedtest
    <<: *default-http
    group: utils
    url: "https://neo.ixvd.net"

  - name: searx
    <<: *default-http
    group: utils
    url: "https://search.faulty.nl"
    ui:
      hide-hostname: true

  - name: libretranslate
    <<: *default-http
    group: utils
    url: "https://translate.ixvd.net"

  - name: pgadmin
    <<: *default-http
    group: utils
    url: "https://pgadmin.neo.ixvd.net"

  # SOCIAL #

  - name: matrix
    <<: *default-http
    group: social
    url: "https://matrix.neo.ixvd.net/_matrix/client/versions"

  - name: firefish
    <<: *default-http
    group: social
    url: "https://fedi.ixvd.net"

  - name: invidious
    <<: *default-http
    group: social
    url: "https://yt.ixvd.net"

  - name: cinny
    <<: *default-http
    group: social
    url: "https://cinny.neo.ixvd.net"

  # GAMES #

  - name: velocity
    <<: *default
    group: games
    url: "tcp://ixvd.net:25565"
    ui:
      hide-url: true

  # AUTH #

  - name: keycloak
    <<: *default-http
    group: auth
    url: "https://my.ixvd.net"

  # internal #

  - name: proxy
    <<: *default-icmp
    group: internal
    url: "icmp://nginx"
    ui:
      hide-url: true

  # mail #

  - name: webmail
    <<: *default-http
    group: mail
    url: "https://mail.ixvd.net"
    ui:
      hide-hostname: true

  - name: imap
    <<: *default
    group: mail
    url: "tcp://mail.ixvd.net:993"
    ui:
      hide-url: true

  - name: smtp
    <<: *default
    group: mail
    url: "tcp://mail.ixvd.net:465"
    ui:
      hide-url: true

  # personal #

  - name: home
    <<: *default-http
    group: personal
    url: "https://home.famslof.nl"
    ui:
      hide-hostname: true