2019-09-06 06:01:48 +02:00
|
|
|
services:
|
2020-12-30 07:04:58 +01:00
|
|
|
- name: frontend
|
2020-11-27 05:23:59 +01:00
|
|
|
group: core
|
2020-09-26 20:23:43 +02:00
|
|
|
url: "https://twinnation.org/health"
|
2020-12-30 02:22:17 +01:00
|
|
|
interval: 5s
|
2020-04-15 02:13:06 +02:00
|
|
|
conditions:
|
|
|
|
- "[STATUS] == 200"
|
|
|
|
- "[BODY].status == UP"
|
2020-12-30 02:22:17 +01:00
|
|
|
- "[RESPONSE_TIME] < 70"
|
2020-11-27 05:23:59 +01:00
|
|
|
|
|
|
|
- name: backend
|
|
|
|
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"
|
|
|
|
|
2020-09-15 02:05:00 +02:00
|
|
|
- name: cat-fact
|
|
|
|
url: "https://cat-fact.herokuapp.com/facts/random"
|
2020-11-27 05:23:59 +01:00
|
|
|
interval: 5m
|
2020-04-15 02:13:06 +02:00
|
|
|
conditions:
|
|
|
|
- "[STATUS] == 200"
|
2020-09-15 02:05:00 +02:00
|
|
|
- "[BODY].deleted == false"
|
2020-10-30 16:30:03 +01:00
|
|
|
- "len([BODY].text) > 0"
|