2019-09-06 04:01:48 +00:00
|
|
|
services:
|
2021-01-31 01:00:54 +00:00
|
|
|
- name: front-end
|
|
|
|
group: core
|
2020-09-26 18:23:43 +00:00
|
|
|
url: "https://twinnation.org/health"
|
2021-01-31 01:00:54 +00:00
|
|
|
interval: 1m
|
2020-04-15 00:13:06 +00:00
|
|
|
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
|
|
|
|
2021-01-29 04:25:29 +00:00
|
|
|
- name: back-end
|
2020-11-27 04:23:59 +00:00
|
|
|
group: core
|
|
|
|
url: "http://example.org/"
|
|
|
|
interval: 5m
|
|
|
|
conditions:
|
|
|
|
- "[STATUS] == 200"
|
|
|
|
|
|
|
|
- name: monitoring
|
|
|
|
group: internal
|
|
|
|
url: "http://example.com/"
|
|
|
|
interval: 5m
|
|
|
|
conditions:
|
|
|
|
- "[STATUS] == 200"
|
|
|
|
|
|
|
|
- name: nas
|
|
|
|
group: internal
|
|
|
|
url: "https://example.org/"
|
|
|
|
interval: 5m
|
|
|
|
conditions:
|
|
|
|
- "[STATUS] == 200"
|
|
|
|
|
2021-01-31 01:00:54 +00:00
|
|
|
- name: cat-fact
|
2020-09-15 00:05:00 +00:00
|
|
|
url: "https://cat-fact.herokuapp.com/facts/random"
|
2020-11-27 04:23:59 +00:00
|
|
|
interval: 5m
|
2020-04-15 00:13:06 +00:00
|
|
|
conditions:
|
|
|
|
- "[STATUS] == 200"
|
2020-09-15 00:05:00 +00:00
|
|
|
- "[BODY].deleted == false"
|
2020-10-30 15:30:03 +00:00
|
|
|
- "len([BODY].text) > 0"
|