added my gatus config
This commit is contained in:
parent
8d87d0f973
commit
d5e324a93f
2 changed files with 176 additions and 0 deletions
12
docker/gatus/compose.yml
Normal file
12
docker/gatus/compose.yml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
services:
|
||||||
|
gatus:
|
||||||
|
image: twinproduction/gatus
|
||||||
|
container_name: gatus
|
||||||
|
ports:
|
||||||
|
- 53195:8080
|
||||||
|
volumes:
|
||||||
|
- ./config:/config
|
||||||
|
- ./data:/data
|
||||||
|
labels:
|
||||||
|
- "diun.enable=true"
|
||||||
|
restart: always
|
164
docker/gatus/config/config.yaml
Normal file
164
docker/gatus/config/config.yaml
Normal file
|
@ -0,0 +1,164 @@
|
||||||
|
storage:
|
||||||
|
type: sqlite
|
||||||
|
path: /data/data.db
|
||||||
|
|
||||||
|
endpoints:
|
||||||
|
- name: dashy
|
||||||
|
group: core
|
||||||
|
url: "https://grobecker.me"
|
||||||
|
interval: 5m
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||||
|
|
||||||
|
- name: forgejo
|
||||||
|
group: microservices
|
||||||
|
url: "https://git.grobecker.me"
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
- name: stirling
|
||||||
|
group: microservices
|
||||||
|
url: "https://pdf.grobecker.me"
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
- name: memos
|
||||||
|
group: microservices
|
||||||
|
url: "https://memos.grobecker.me"
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
- name: Seafile
|
||||||
|
group: microservices
|
||||||
|
url: "https://files.grobecker.me"
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
- name: archivebox
|
||||||
|
group: microservices
|
||||||
|
url: "https://archive.grobecker.me"
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
- name: hedgedoc
|
||||||
|
group: microservices
|
||||||
|
url: "https://md.grobecker.me"
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
- name: nextcloud
|
||||||
|
group: microservices
|
||||||
|
url: "https://nx41088.your-storageshare.de"
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
- name: it-tools
|
||||||
|
group: microservices
|
||||||
|
url: "https://tools.grobecker.me"
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
- name: ntfy
|
||||||
|
group: microservices
|
||||||
|
url: "https://ntfy.grobecker.me"
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
- name: vaultwarden
|
||||||
|
group: microservices
|
||||||
|
url: "https://vault.grobecker.me"
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
|
||||||
|
- name: webui
|
||||||
|
group: mail
|
||||||
|
url: "https://mail.grobecker.me"
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||||
|
- name: starttls-smtp
|
||||||
|
group: mail
|
||||||
|
url: "starttls://mail.grobecker.me:587"
|
||||||
|
interval: 30m
|
||||||
|
client:
|
||||||
|
timeout: 5s
|
||||||
|
conditions:
|
||||||
|
- "[CONNECTED] == true"
|
||||||
|
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
- name: tls-imap
|
||||||
|
group: mail
|
||||||
|
url: "tls://mail.grobecker.me:993"
|
||||||
|
interval: 30m
|
||||||
|
client:
|
||||||
|
timeout: 5s
|
||||||
|
conditions:
|
||||||
|
- "[CONNECTED] == true"
|
||||||
|
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
- name: mail-ipv4-dns-query
|
||||||
|
url: "8.8.8.8" # Address of the DNS server to use
|
||||||
|
group: mail
|
||||||
|
dns:
|
||||||
|
query-name: "mail.grobecker.me"
|
||||||
|
query-type: "A"
|
||||||
|
conditions:
|
||||||
|
- "[BODY] == 91.107.207.162"
|
||||||
|
- "[DNS_RCODE] == NOERROR"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
- name: mail-ipv6-dns-query
|
||||||
|
url: "8.8.8.8" # Address of the DNS server to use
|
||||||
|
group: mail
|
||||||
|
dns:
|
||||||
|
query-name: "mail.grobecker.me"
|
||||||
|
query-type: "AAAA"
|
||||||
|
conditions:
|
||||||
|
- "[BODY] == 2a01:4f8:c012:a8bb::1"
|
||||||
|
- "[DNS_RCODE] == NOERROR"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
- name: mail-mx-dns-query
|
||||||
|
url: "8.8.8.8" # Address of the DNS server to use
|
||||||
|
group: mail
|
||||||
|
dns:
|
||||||
|
query-name: "grobecker.me"
|
||||||
|
query-type: "MX"
|
||||||
|
conditions:
|
||||||
|
- "[BODY] == mail.grobecker.me."
|
||||||
|
- "[DNS_RCODE] == NOERROR"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
|
||||||
|
alerting:
|
||||||
|
ntfy:
|
||||||
|
url: "https://ntfy.grobecker.me"
|
||||||
|
topic: "status"
|
||||||
|
priority: 2
|
||||||
|
default-alert:
|
||||||
|
failure-threshold: 3
|
||||||
|
send-on-resolved: true
|
Loading…
Add table
Reference in a new issue