2021-10-23 16:47:12 -04:00
|
|
|
endpoints:
|
2021-01-30 20:00:54 -05:00
|
|
|
- name: front-end
|
|
|
|
|
group: core
|
2021-09-28 18:54:40 -04:00
|
|
|
url: "https://twin.sh/health"
|
2021-10-23 16:47:12 -04:00
|
|
|
interval: 5m
|
2020-04-14 20:13:06 -04:00
|
|
|
conditions:
|
|
|
|
|
- "[STATUS] == 200"
|
|
|
|
|
- "[BODY].status == UP"
|
2021-01-30 20:00:54 -05:00
|
|
|
- "[RESPONSE_TIME] < 150"
|
2020-11-26 23:23:59 -05:00
|
|
|
|
2021-01-28 23:25:29 -05:00
|
|
|
- name: back-end
|
2020-11-26 23:23:59 -05:00
|
|
|
group: core
|
2021-06-29 23:33:17 -04:00
|
|
|
url: "https://example.org/"
|
2020-11-26 23:23:59 -05:00
|
|
|
interval: 5m
|
|
|
|
|
conditions:
|
|
|
|
|
- "[STATUS] == 200"
|
2021-06-29 23:33:17 -04:00
|
|
|
- "[CERTIFICATE_EXPIRATION] > 48h"
|
2020-11-26 23:23:59 -05:00
|
|
|
|
|
|
|
|
- name: monitoring
|
|
|
|
|
group: internal
|
2021-06-29 23:33:17 -04:00
|
|
|
url: "https://example.org/"
|
2020-11-26 23:23:59 -05:00
|
|
|
interval: 5m
|
|
|
|
|
conditions:
|
|
|
|
|
- "[STATUS] == 200"
|
|
|
|
|
|
|
|
|
|
- name: nas
|
|
|
|
|
group: internal
|
|
|
|
|
url: "https://example.org/"
|
|
|
|
|
interval: 5m
|
|
|
|
|
conditions:
|
|
|
|
|
- "[STATUS] == 200"
|
|
|
|
|
|
2021-05-09 13:45:27 -04:00
|
|
|
- name: example-dns-query
|
2022-11-15 21:48:14 -05:00
|
|
|
url: "8.8.8.8" # Address of the DNS server to use
|
2021-05-09 13:45:27 -04:00
|
|
|
interval: 5m
|
|
|
|
|
dns:
|
|
|
|
|
query-name: "example.com"
|
|
|
|
|
query-type: "A"
|
|
|
|
|
conditions:
|
2025-08-14 09:15:34 -04:00
|
|
|
- "[BODY] == pat(*.*.*.*)" # Matches any IPv4 address
|
2021-05-13 21:24:22 -04:00
|
|
|
- "[DNS_RCODE] == NOERROR"
|
|
|
|
|
|
|
|
|
|
- name: icmp-ping
|
|
|
|
|
url: "icmp://example.org"
|
|
|
|
|
interval: 1m
|
|
|
|
|
conditions:
|
|
|
|
|
- "[CONNECTED] == true"
|
2022-09-07 18:19:57 -04:00
|
|
|
|
|
|
|
|
- name: check-domain-expiration
|
|
|
|
|
url: "https://example.org/"
|
|
|
|
|
interval: 1h
|
|
|
|
|
conditions:
|
|
|
|
|
- "[DOMAIN_EXPIRATION] > 720h"
|