BareGit
# Copy this file to a local path and run:
#   probius ./config.yaml

worker_count: 4
database_path: status-tracker.sqlite
# unix_socket: /run/probius/probius.sock
# socket_permission: 0o660

# Groups are a sequence. Service IDs are mapping keys and must be unique.
groups:
  - name: Public
    services:
      blog:
        name: Blog
        description: Personal website
        url: https://blog.example/
        interval:
          value: 1
          unit: minute
        endpoint:
          protocol: HTTP
          # If omitted, the service-level URL is used for HTTP probes.
          # url: https://blog.example/
          timeout_second: 5

  - name: Infrastructure
    services:
      vm_host:
        name: VM host
        description: Virtualization host
        interval:
          value: 1
          unit: minute
        endpoint:
          protocol: ICMP
          host: 10.10.10.20
          timeout_second: 5

      ssh:
        name: SSH
        description: SSH service on the VM host
        interval:
          value: 1
          unit: minute
        endpoint:
          protocol: TCP
          host: 10.10.10.20
          port: 22
          timeout_second: 5

      dns:
        name: DNS
        description: UDP DNS endpoint
        interval:
          value: 1
          unit: minute
        endpoint:
          protocol: UDP
          host: 10.10.10.1
          port: 53
          payload: status-tracker
          timeout_second: 5