mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-01 04:14:20 +01:00
22 lines
489 B
YAML
22 lines
489 B
YAML
|
endpoints:
|
||
|
- name: check-if-api-is-healthy
|
||
|
group: backend
|
||
|
url: "https://twin.sh/health"
|
||
|
interval: 5m
|
||
|
conditions:
|
||
|
- "[STATUS] == 200"
|
||
|
- "[BODY].status == UP"
|
||
|
- "[RESPONSE_TIME] < 1000"
|
||
|
|
||
|
- name: check-if-website-is-pingable
|
||
|
url: "icmp://example.org"
|
||
|
interval: 1m
|
||
|
conditions:
|
||
|
- "[CONNECTED] == true"
|
||
|
|
||
|
- name: check-domain-expiration
|
||
|
url: "https://example.org"
|
||
|
interval: 6h
|
||
|
conditions:
|
||
|
- "[DOMAIN_EXPIRATION] > 720h"
|