apps/status/gatus: update alerting, adding zulip
This commit is contained in:
parent
bf3ab5e5cd
commit
24eef88918
2 changed files with 27 additions and 3 deletions
|
@ -18,6 +18,13 @@ spec:
|
||||||
- kind: ConfigMap
|
- kind: ConfigMap
|
||||||
name: stackspin-gatus-values
|
name: stackspin-gatus-values
|
||||||
optional: false
|
optional: false
|
||||||
|
# Zulip Monitoring Config
|
||||||
|
- kind: Secret
|
||||||
|
name: stackspin-cluster-variables
|
||||||
|
optional: false
|
||||||
|
- kind: ConfigMap
|
||||||
|
name: stackspin-zulip-kustomization-variables
|
||||||
|
optional: true
|
||||||
# Allow overriding values by ConfigMap or Secret
|
# Allow overriding values by ConfigMap or Secret
|
||||||
- kind: ConfigMap
|
- kind: ConfigMap
|
||||||
name: stackspin-gatus-override
|
name: stackspin-gatus-override
|
||||||
|
|
|
@ -35,6 +35,7 @@ data:
|
||||||
# scopes: ["openid"]
|
# scopes: ["openid"]
|
||||||
# #autoDiscoverUrl: 'https://${hydra_domain}/.well-known/openid-configuration'
|
# #autoDiscoverUrl: 'https://${hydra_domain}/.well-known/openid-configuration'
|
||||||
alerting:
|
alerting:
|
||||||
|
# TODO no emails arriving?
|
||||||
# https://github.com/TwiN/gatus?tab=readme-ov-file#configuring-email-alerts
|
# https://github.com/TwiN/gatus?tab=readme-ov-file#configuring-email-alerts
|
||||||
email:
|
email:
|
||||||
from: "${outgoing_mail_from_address}"
|
from: "${outgoing_mail_from_address}"
|
||||||
|
@ -42,14 +43,24 @@ data:
|
||||||
password: "${outgoing_mail_smtp_password}"
|
password: "${outgoing_mail_smtp_password}"
|
||||||
host: "${outgoing_mail_smtp_host}"
|
host: "${outgoing_mail_smtp_host}"
|
||||||
port: ${outgoing_mail_smtp_port}
|
port: ${outgoing_mail_smtp_port}
|
||||||
to: "${outgoing_mail_from_address}"
|
to: "${admin_email}"
|
||||||
client:
|
client:
|
||||||
insecure: false
|
insecure: false
|
||||||
default-alert:
|
default-alert:
|
||||||
enabled: ${outgoing_mail_enabled}
|
enabled: ${outgoing_mail_enabled}
|
||||||
description: "health check failed"
|
#description: "health check failed"
|
||||||
send-on-resolved: true
|
send-on-resolved: true
|
||||||
failure-threshold: 9
|
failure-threshold: 9
|
||||||
|
success-threshold: 5
|
||||||
|
zulip:
|
||||||
|
bot-email: gatus-bot@${zulip_domain}
|
||||||
|
bot-api-key: ${zulip_monitor_api_key}
|
||||||
|
domain: ${zulip_domain}
|
||||||
|
channel-id: ${zulip_monitor_channel}
|
||||||
|
default-alert:
|
||||||
|
enabled: true
|
||||||
|
send-on-resolved: true
|
||||||
|
failure-threshold: 5
|
||||||
success-threshold: 3
|
success-threshold: 3
|
||||||
maintenance:
|
maintenance:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
@ -64,11 +75,17 @@ data:
|
||||||
header: "${org_name} Toolstatus"
|
header: "${org_name} Toolstatus"
|
||||||
title: "${org_name} Monitoring"
|
title: "${org_name} Monitoring"
|
||||||
|
|
||||||
default-endpoint: &defaults
|
x-default-endpoint: &defaults
|
||||||
group: ${org_name}
|
group: ${org_name}
|
||||||
interval: 2m
|
interval: 2m
|
||||||
conditions:
|
conditions:
|
||||||
- "[STATUS] == 200"
|
- "[STATUS] == 200"
|
||||||
|
#alerts:
|
||||||
|
# - type: zulip
|
||||||
|
# send-on-resolved: true
|
||||||
|
# - type: telegram
|
||||||
|
# send-on-resolved: true
|
||||||
|
# failure-threshold: 9
|
||||||
endpoints:
|
endpoints:
|
||||||
- name: "Nextcloud Files"
|
- name: "Nextcloud Files"
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
|
|
Loading…
Add table
Reference in a new issue