42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
|
|
---
|
||
|
|
# Uptime Kuma monitoring registration
|
||
|
|
kuma_enabled: true
|
||
|
|
kuma_url: "https://status.vrije.cloud"
|
||
|
|
|
||
|
|
# Authentication options:
|
||
|
|
# Option 1: Username/Password (required for Socket.io API used by Python library)
|
||
|
|
kuma_username: "" # Set this for automated registration
|
||
|
|
kuma_password: "" # Set this for automated registration
|
||
|
|
|
||
|
|
# Option 2: API Key (only for REST endpoints like /metrics, not for monitor management)
|
||
|
|
kuma_api_key: "uk1_H2YjQsSG8em8GG9G9c0arQogSizXI1CRPNgTEUlU"
|
||
|
|
|
||
|
|
# Monitors to create for each client
|
||
|
|
kuma_monitors:
|
||
|
|
- name: "{{ client_name }} - Authentik SSO"
|
||
|
|
type: "http"
|
||
|
|
url: "https://auth.{{ client_domain }}"
|
||
|
|
method: "GET"
|
||
|
|
interval: 60
|
||
|
|
maxretries: 3
|
||
|
|
retry_interval: 60
|
||
|
|
expected_status: "200,302"
|
||
|
|
|
||
|
|
- name: "{{ client_name }} - Nextcloud"
|
||
|
|
type: "http"
|
||
|
|
url: "https://nextcloud.{{ client_domain }}"
|
||
|
|
method: "GET"
|
||
|
|
interval: 60
|
||
|
|
maxretries: 3
|
||
|
|
retry_interval: 60
|
||
|
|
expected_status: "200,302"
|
||
|
|
|
||
|
|
- name: "{{ client_name }} - Collabora Office"
|
||
|
|
type: "http"
|
||
|
|
url: "https://office.{{ client_domain }}"
|
||
|
|
method: "GET"
|
||
|
|
interval: 60
|
||
|
|
maxretries: 3
|
||
|
|
retry_interval: 60
|
||
|
|
expected_status: "200"
|