Search code examples
kubernetessmswebhooksprometheusprometheus-alertmanager

Alert Manager SMS Notification


I have a Prometheus monitoring running on Kubernetes cluster. I want to receive SMS notification when my alerts firing. How should i set my number for receive SMS in Alertmanager?


Solution

  • Couple options coming from official docs: https://prometheus.io/docs/alerting/configuration/

    Option 1. If you have PagerDuty / VictorOps subscription use https://prometheus.io/docs/alerting/configuration/#pagerduty_config receiver, and setup SMS rule inside the service.

    Option 2. Use a webhook receiver https://prometheus.io/docs/alerting/configuration/#webhook_config Set it to send notification to AWS SNS https://docs.aws.amazon.com/sns/latest/dg/sns-http-https-endpoint-as-subscriber.html, then use AWS SNS to send an SMS. Or use any other webhook based SMS sender.