You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to set Alertmanagerconfig with "Azure Communication Service" and through this service, you get the endpoint, key, and a connection string (combination of endpoint and key).
Below is the alertmanagerconfig manifest, does this need to be modified?
apiVersion: monitoring.coreos.com/v1alpha1
kind: AlertmanagerConfig
metadata:
name: prometheus-alertmanager-config
namespace: prometheus
spec:
route:
receiver: alert-email-pagerduty-config
groupBy: ['alertname', 'priority','severity']
groupWait: 30s
groupInterval: 5m
repeatInterval: 15m
continue: true
receivers:
- name: alert-email-azure-config
emailConfigs:
- to: {{.to_email}}
sendResolved: true
from: {{.az_from_email}} ##sender user address created in azure email communication service
smarthost: {{.az_smarthost}} ## endpoint exposed by azure communication service
authUsername: {{.az_mail_username}} ##sender user address created in azure email communication service
authPassword:
name: 'az_alert-smtp-password'
key: 'password'
requireTLS: true
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: az_alert-smtp-password
namespace: prometheus
stringData:
password: {{.az_mail_password}} ##key exposed by azure communication service
The text was updated successfully, but these errors were encountered:
I am trying to set Alertmanagerconfig with "Azure Communication Service" and through this service, you get the endpoint, key, and a connection string (combination of endpoint and key).
Below is the alertmanagerconfig manifest, does this need to be modified?
The text was updated successfully, but these errors were encountered: