1
0
Fork 0
mirror of https://github.com/TwiN/gatus.git synced 2024-12-14 11:58:04 +00:00
twin-gatus/config.yaml

48 lines
988 B
YAML
Raw Normal View History

2019-09-06 04:01:48 +00:00
services:
2021-01-31 01:00:54 +00:00
- name: front-end
group: core
2021-09-28 22:54:40 +00:00
url: "https://twin.sh/health"
2021-01-31 01:00:54 +00:00
interval: 1m
conditions:
- "[STATUS] == 200"
- "[BODY].status == UP"
2021-01-31 01:00:54 +00:00
- "[RESPONSE_TIME] < 150"
2020-11-27 04:23:59 +00:00
- name: back-end
2020-11-27 04:23:59 +00:00
group: core
2021-06-30 03:33:17 +00:00
url: "https://example.org/"
2020-11-27 04:23:59 +00:00
interval: 5m
conditions:
- "[STATUS] == 200"
2021-06-30 03:33:17 +00:00
- "[CERTIFICATE_EXPIRATION] > 48h"
2020-11-27 04:23:59 +00:00
- name: monitoring
group: internal
2021-06-30 03:33:17 +00:00
url: "https://example.org/"
2020-11-27 04:23:59 +00:00
interval: 5m
conditions:
- "[STATUS] == 200"
- name: nas
group: internal
url: "https://example.org/"
interval: 5m
conditions:
- "[STATUS] == 200"
2021-05-09 17:45:27 +00:00
- 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"
2021-05-14 01:24:22 +00:00
- "[DNS_RCODE] == NOERROR"
- name: icmp-ping
url: "icmp://example.org"
interval: 1m
conditions:
- "[CONNECTED] == true"