theshire/kubernetes/apps/observability/gatus/app/resources/config.yml

118 lines
2.5 KiB
YAML
Raw Normal View History

2024-04-07 09:05:08 -05:00
---
# Note: Gatus vars should be escaped with $${VAR_NAME} to avoid interpolation by Flux
web:
port: $${CUSTOM_WEB_PORT}
storage:
type: postgres
path: $${DATABASE_URI}
caching: true
metrics: true
debug: false
ui:
title: Status | Gatus
header: Status
alerting:
pushover:
application-token: $${CUSTOM_PUSHOVER_TOKEN}
user-key: $${CUSTOM_PUSHOVER_USER_KEY}
default-alert:
description: health-check failed
send-on-resolved: true
failure-threshold: 5
success-threshold: 2
connectivity:
checker:
target: 1.1.1.1:53
interval: 1m
endpoints:
- name: status
group: external
url: https://status.hsn.dev
interval: 1m
client:
dns-resolver: tcp://1.1.1.1:53
conditions:
- "[STATUS] == 200"
alerts:
- type: pushover
- name: Nextcloud External
group: external
url: https://nc.hsn.dev
interval: 1m
client:
dns-resolver: tcp://1.1.1.1:53
conditions:
- "[STATUS] == 200"
alerts:
- type: pushover
2024-04-07 09:05:08 -05:00
- name: flux-webhook
group: external
2024-04-07 09:52:32 -05:00
url: https://flux-receiver.hsn.dev
2024-04-07 09:05:08 -05:00
interval: 1m
client:
dns-resolver: tcp://1.1.1.1:53
conditions:
- "[STATUS] == 404"
alerts:
- type: pushover
- name: Elessar
group: internal
url: https://elessar.jahanson.tech
interval: 1m
client:
dns-resolver: tcp://10.1.1.1:53
conditions:
- "[STATUS] == 200"
alerts:
- type: pushover
- name: Sting
group: internal
2024-05-28 15:16:33 -05:00
url: http://sting.jahanson.tech
interval: 1m
client:
dns-resolver: tcp://10.1.1.1:53
conditions:
- "[STATUS] == 200"
alerts:
- type: pushover
- name: Gandalf
group: internal
2024-05-28 15:16:33 -05:00
url: icmp://gandalf.jahanson.tech
interval: 1m
client:
dns-resolver: tcp://10.1.1.1:53
conditions:
2024-05-28 14:46:53 -05:00
- "[CONNECTED] == true"
alerts:
- type: pushover
- name: Gollum
group: internal
2024-05-28 15:16:33 -05:00
url: http://gollum.jahanson.tech
interval: 1m
client:
dns-resolver: tcp://10.1.1.1:53
conditions:
- "[STATUS] == 200"
alerts:
- type: pushover
- name: Nextcloud Internal
group: internal
url: https://nc.hsn.dev
interval: 1m
client:
dns-resolver: tcp://10.1.1.1:53
conditions:
- "[STATUS] == 200"
alerts:
- type: pushover
- name: Home Assistant
group: internal
url: https://hass.jahanson.tech
interval: 1m
client:
dns-resolver: tcp://10.1.1.1:53
conditions:
- "[STATUS] == 200"
alerts:
- type: pushover