SMS Alerts in Grafana using a Custom Webhook and AWS SNS

Sean Bradley
3 min readApr 10, 2020
Photo by Galen Crout on Unsplash

I will show you how you can create an alert channel in Grafana using a custom webhook that sends SMS. The SMS gateway I will use is AWS SNS.

You will need an AWS account. Log in and create an IAM user, and add it to a group with the AmazonSNSFullAccess policy. Take note of the Access Key and Secret given to you by AWS.

Go to the SNS Service console, select the Region you desire.

Press the blue link Start with an Overview,

and then press the link Text Messaging (SMS). Note that not all regions provide SMS, so you will need to choose one that does. US-EAST-1 supports SMS.

So, before continuing, you should have now obtained an Access Key, Secret Key and chosen an AWS region to send SMS from.

At time of writing, the possible regions which support SMS are,

  • us-east-1 (N. Virginia)
  • us-west-2 (Oregon)
  • ap-south-1 (Mumbai)

--

--

Sean Bradley
Sean Bradley

Written by Sean Bradley

Developer of real time, low latency, high availability, asynchronous, multi threaded, remotely managed, fully automated and monitored solutions.

No responses yet