status(host): use custom alert for Matrix to make it work with PAT
All checks were successful
/ Ansible Lint (push) Successful in 2m15s
All checks were successful
/ Ansible Lint (push) Successful in 2m15s
The Personal Access Token we use isn't compatible with the default Matrix alerting provider, so use a custom alert.
This commit is contained in:
parent
9c2fe5ea9b
commit
c3b20abab3
5 changed files with 29 additions and 11 deletions
|
|
@ -5,7 +5,8 @@ websites-defaults: &websites_defaults
|
|||
group: Websites
|
||||
interval: 1m
|
||||
alerts:
|
||||
- type: matrix
|
||||
# - type: matrix
|
||||
- type: custom
|
||||
failure-threshold: 5
|
||||
success-threshold: 2
|
||||
minimum-reminder-interval: "6h"
|
||||
|
|
@ -15,7 +16,8 @@ websites-staging-defaults: &websites_staging_defaults
|
|||
group: Websites (Staging)
|
||||
interval: 5m
|
||||
alerts:
|
||||
- type: matrix
|
||||
# - type: matrix
|
||||
- type: custom
|
||||
failure-threshold: 3
|
||||
success-threshold: 1
|
||||
minimum-reminder-interval: "24h"
|
||||
|
|
@ -25,7 +27,8 @@ websites-redirects-defaults: &websites_redirects_defaults
|
|||
group: Websites (Redirects)
|
||||
interval: 5m
|
||||
alerts:
|
||||
- type: matrix
|
||||
# - type: matrix
|
||||
- type: custom
|
||||
failure-threshold: 3
|
||||
success-threshold: 1
|
||||
minimum-reminder-interval: "24h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue