Alert Manager SMS Notification

4/16/2019

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?

-- meisam bahrami
kubernetes
prometheus
prometheus-alertmanager
sms
webhooks

1 Answer

4/16/2019

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.

-- Max Lobur
Source: StackOverflow