forked from CCCHH/ansible-infra
status(host): configure external status page and uptime monitoring host
This commit is contained in:
parent
51bbdd42a2
commit
fe52127e82
14 changed files with 1381 additions and 2 deletions
303
resources/external/status/docker_compose/config/easterhegg-websites.yaml
vendored
Normal file
303
resources/external/status/docker_compose/config/easterhegg-websites.yaml
vendored
Normal file
|
|
@ -0,0 +1,303 @@
|
|||
# Easterhegg Websites and Websites (Redirects)
|
||||
# (hosted on public-web-static)
|
||||
# One could probably also generate this list from the public-web-static config.
|
||||
easterhegg-websites-defaults: &easterhegg_websites_defaults
|
||||
group: Websites
|
||||
interval: 5m
|
||||
alerts:
|
||||
- type: matrix
|
||||
failure-threshold: 3
|
||||
success-threshold: 1
|
||||
minimum-reminder-interval: "12h"
|
||||
send-on-resolved: true
|
||||
|
||||
easterhegg-websites-redirects-defaults: &easterhegg_websites_redirects_defaults
|
||||
group: Websites (Redirects)
|
||||
interval: 15m
|
||||
alerts:
|
||||
- type: matrix
|
||||
failure-threshold: 3
|
||||
success-threshold: 1
|
||||
minimum-reminder-interval: "24h"
|
||||
send-on-resolved: true
|
||||
|
||||
endpoints:
|
||||
# Websites
|
||||
- name: eh03.easterhegg.eu
|
||||
url: "https://eh03.easterhegg.eu"
|
||||
<<: *easterhegg_websites_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easter(h)egg 2003*)"
|
||||
|
||||
- name: eh05.easterhegg.eu
|
||||
url: "https://eh05.easterhegg.eu"
|
||||
<<: *easterhegg_websites_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2005 - The workshop weekend*)"
|
||||
|
||||
- name: eh07.easterhegg.eu
|
||||
url: "https://eh07.easterhegg.eu"
|
||||
<<: *easterhegg_websites_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2007 - The Workshop weekend*)"
|
||||
|
||||
- name: eh09.easterhegg.eu
|
||||
url: "https://eh09.easterhegg.eu"
|
||||
<<: *easterhegg_websites_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2009*)"
|
||||
|
||||
- name: eh11.easterhegg.eu
|
||||
url: "https://eh11.easterhegg.eu"
|
||||
<<: *easterhegg_websites_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2011*)"
|
||||
|
||||
- name: eh20.easterhegg.eu
|
||||
url: "https://eh20.easterhegg.eu"
|
||||
<<: *easterhegg_websites_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*EH20 - Back to root*)"
|
||||
|
||||
# Websites (Redirects)
|
||||
# eh03.easterhegg.eu
|
||||
- name: eh2003.hamburg.ccc.de
|
||||
url: "https://eh2003.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easter(h)egg 2003*)"
|
||||
|
||||
- name: www.eh2003.hamburg.ccc.de
|
||||
url: "https://www.eh2003.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easter(h)egg 2003*)"
|
||||
|
||||
- name: easterhegg2003.hamburg.ccc.de
|
||||
url: "https://easterhegg2003.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easter(h)egg 2003*)"
|
||||
|
||||
- name: www.easterhegg2003.hamburg.ccc.de
|
||||
url: "https://www.easterhegg2003.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easter(h)egg 2003*)"
|
||||
|
||||
# eh05.easterhegg.eu
|
||||
- name: eh2005.hamburg.ccc.de
|
||||
url: "https://eh2005.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2005 - The workshop weekend*)"
|
||||
|
||||
- name: www.eh2005.hamburg.ccc.de
|
||||
url: "https://www.eh2005.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2005 - The workshop weekend*)"
|
||||
|
||||
- name: easterhegg2005.hamburg.ccc.de
|
||||
url: "https://easterhegg2005.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2005 - The workshop weekend*)"
|
||||
|
||||
- name: www.easterhegg2005.hamburg.ccc.de
|
||||
url: "https://www.easterhegg2005.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2005 - The workshop weekend*)"
|
||||
|
||||
# eh07.easterhegg.eu
|
||||
- name: eh2007.hamburg.ccc.de
|
||||
url: "https://eh2007.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2007 - The Workshop weekend*)"
|
||||
|
||||
- name: www.eh2007.hamburg.ccc.de
|
||||
url: "https://www.eh2007.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2007 - The Workshop weekend*)"
|
||||
|
||||
- name: eh07.hamburg.ccc.de
|
||||
url: "https://eh07.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2007 - The Workshop weekend*)"
|
||||
|
||||
- name: www.eh07.hamburg.ccc.de
|
||||
url: "https://www.eh07.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2007 - The Workshop weekend*)"
|
||||
|
||||
- name: easterhegg2007.hamburg.ccc.de
|
||||
url: "https://easterhegg2007.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2007 - The Workshop weekend*)"
|
||||
|
||||
- name: www.easterhegg2007.hamburg.ccc.de
|
||||
url: "https://www.easterhegg2007.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
- "[CERTIFICATE_EXPIRATION] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2007 - The Workshop weekend*)"
|
||||
|
||||
# eh09.easterhegg.eu
|
||||
- name: eh2009.hamburg.ccc.de
|
||||
url: "https://eh2009.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2009*)"
|
||||
|
||||
- name: www.eh2009.hamburg.ccc.de
|
||||
url: "https://www.eh2009.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2009*)"
|
||||
|
||||
- name: eh09.hamburg.ccc.de
|
||||
url: "https://eh09.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2009*)"
|
||||
|
||||
- name: www.eh09.hamburg.ccc.de
|
||||
url: "https://www.eh09.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2009*)"
|
||||
|
||||
- name: easterhegg2009.hamburg.ccc.de
|
||||
url: "https://easterhegg2009.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2009*)"
|
||||
|
||||
- name: www.easterhegg2009.hamburg.ccc.de
|
||||
url: "https://www.easterhegg2009.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2009*)"
|
||||
|
||||
# eh11.easterhegg.eu
|
||||
- name: eh2011.hamburg.ccc.de
|
||||
url: "https://eh2011.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2011*)"
|
||||
|
||||
- name: www.eh2011.hamburg.ccc.de
|
||||
url: "https://www.eh2011.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2011*)"
|
||||
|
||||
- name: eh11.hamburg.ccc.de
|
||||
url: "https://eh11.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2011*)"
|
||||
|
||||
- name: www.eh11.hamburg.ccc.de
|
||||
url: "https://www.eh11.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2011*)"
|
||||
|
||||
- name: easterhegg2011.hamburg.ccc.de
|
||||
url: "https://easterhegg2011.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2011*)"
|
||||
|
||||
- name: www.easterhegg2011.hamburg.ccc.de
|
||||
url: "https://www.easterhegg2011.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*Easterhegg 2011*)"
|
||||
|
||||
# eh20.easterhegg.eu
|
||||
- name: www.eh20.easterhegg.eu
|
||||
url: "https://www.eh20.easterhegg.eu"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*EH20 - Back to root*)"
|
||||
|
||||
- name: eh20.hamburg.ccc.de
|
||||
url: "https://eh20.hamburg.ccc.de"
|
||||
<<: *easterhegg_websites_redirects_defaults
|
||||
conditions:
|
||||
- "[status] == 200"
|
||||
- "[certificate_expiration] > 48h"
|
||||
- "[BODY] == pat(*EH20 - Back to root*)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue