48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
config.yaml: |
|
|
metrics: true
|
|
ui:
|
|
title: "JLP Homelab Health | Gatus"
|
|
skip-invalid-config-update: true
|
|
|
|
storage:
|
|
type: postgres
|
|
caching: true
|
|
path: "postgres://gatus:${POSTGRES_PASSWORD}@postgres-svc.core.svc.cluster.local:5432/gatus?sslmode=disable"
|
|
alerting:
|
|
ntfy:
|
|
url: https://ntfy.leechpepin.com
|
|
topic: gatus-laakeI3fNWqNC7ZR
|
|
token: ${NTFY_TOKEN}
|
|
disable-firebase: true
|
|
defaultAlert:
|
|
description: "healthcheck failed"
|
|
enabled: true
|
|
send-on-resolved: true
|
|
success-threshold: 3
|
|
failure-threshold: 3
|
|
|
|
endpoints:
|
|
- name: Gatus
|
|
url: http://gatus-svc.monitoring.svc.cluster.local:8080/health
|
|
group: Internal/Monitoring
|
|
interval: 5m
|
|
conditions:
|
|
- "[STATUS] == 200"
|
|
alerts:
|
|
- type: ntfy
|
|
- name: Blog
|
|
url: https://blog.leechpepin.com
|
|
group: Static Pages
|
|
interval: 5m
|
|
conditions:
|
|
- "[STATUS] == 200"
|
|
alerts:
|
|
- type: ntfy
|
|
- name: Techdocs
|
|
url: https://docs.leechpepin.com
|
|
group: Static Pages
|
|
interval: 5m
|
|
conditions:
|
|
- "[STATUS] == 200"
|
|
alerts:
|
|
- type: ntfy
|