apps/status: test nextcloud maintenance mode

This commit is contained in:
xeruf 2024-07-01 10:40:54 +03:00
parent 467649003f
commit 67aa0df888
1 changed files with 11 additions and 5 deletions

View File

@ -65,11 +65,17 @@ data:
conditions: conditions:
- "[STATUS] == 200" - "[STATUS] == 200"
endpoints: endpoints:
- name: "Nextcloud" - name: "Nextcloud Files"
<<: *defaults <<: *defaults
group: "Stackspout" group: "Stackspout"
url: "https://files.${domain}/status.php" url: "https://files.${domain}/status.php"
- name: "Zulip" - name: "Nextcloud Maintenance Mode"
<<: *defaults
group: "Stackspout"
url: "https://files.${domain}/status.php"
conditions:
- "[BODY].maintenance == false"
- name: "Zulip Teamchat"
<<: *defaults <<: *defaults
group: "Stackspout" group: "Stackspout"
url: "https://chat.${domain}" url: "https://chat.${domain}"
@ -83,15 +89,15 @@ data:
url: "https://do.${domain}/api/v1/info" url: "https://do.${domain}/api/v1/info"
conditions: conditions:
- "len([BODY].auth.openid_connect.providers) > 0" - "len([BODY].auth.openid_connect.providers) > 0"
- name: "HedgeDoc" - name: "HedgeDoc Notes"
<<: *defaults <<: *defaults
group: "Stackspout" group: "Stackspout"
url: "https://note.${domain}" url: "https://note.${domain}"
- name: "InvoiceNinja" - name: "InvoiceNinja Billing"
url: "https://ninja.${domain}" url: "https://ninja.${domain}"
<<: *defaults <<: *defaults
group: "Stackspout" group: "Stackspout"
- name: "Zammad" - name: "Zammad Support"
url: "https://support.${domain}" url: "https://support.${domain}"
<<: *defaults <<: *defaults
group: "Stackspout" group: "Stackspout"