1
0
Fork 0
mirror of https://github.com/TwiN/gatus.git synced 2024-12-15 17:51:09 +00:00

Revert config.yaml modification

This commit is contained in:
Bastien Ogier 2021-07-28 14:28:31 +02:00
parent 23fb69fca9
commit 7416384efe

View file

@ -1,19 +1,47 @@
alerting: services:
teams: - name: front-end
webhook-url: "https://quartum.webhook.office.com/webhookb2/fa1bd615-fe85-4248-ab47-c775c6269f66@e4945be5-4b78-49eb-ac7e-de2875b58a6f/IncomingWebhook/b2333e8489f44f23ac020b5b3d8d314e/4e96d5d6-e1d3-42fc-a022-cc4608ac4d9f" group: core
default-alert: url: "https://twinnation.org/health"
enabled: true interval: 1m
failure-threshold: 1 conditions:
success-threshold: 1 - "[STATUS] == 200"
send-on-resolved: true - "[BODY].status == UP"
services: - "[RESPONSE_TIME] < 150"
- name: front-end
group: core - name: back-end
url: "https://twinnation.org/health" group: core
alerts: url: "https://example.org/"
- type: teams interval: 5m
interval: 1m conditions:
conditions: - "[STATUS] == 200"
- "[STATUS] == 201" - "[CERTIFICATE_EXPIRATION] > 48h"
- "[BODY].status == UP"
- "[RESPONSE_TIME] < 150" - name: monitoring
group: internal
url: "https://example.org/"
interval: 5m
conditions:
- "[STATUS] == 200"
- name: nas
group: internal
url: "https://example.org/"
interval: 5m
conditions:
- "[STATUS] == 200"
- name: example-dns-query
url: "8.8.8.8" # Address of the DNS server to use
interval: 5m
dns:
query-name: "example.com"
query-type: "A"
conditions:
- "[BODY] == 93.184.216.34"
- "[DNS_RCODE] == NOERROR"
- name: icmp-ping
url: "icmp://example.org"
interval: 1m
conditions:
- "[CONNECTED] == true"