You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Daniel Barlow 81e6837294 read config file to get smsc, phone number & device name 1 year ago
.gitignore read config file to get smsc, phone number & device name 1 year ago
GSM0338.TXT SMS sending works for basic chars 1 year ago
Makefile SMS sending works for basic chars 1 year ago
README.md placeholder README 1 year ago
build.nix make default.nix a function callable by callPackage 1 year ago
config.json.example read config file to get smsc, phone number & device name 1 year ago
default.nix make default.nix a function callable by callPackage 1 year ago
main.fnl read config file to get smsc, phone number & device name 1 year ago
sample-alert.json placeholder README 1 year ago
server.fnl SMS sending works for basic chars 1 year ago
sms.fnl allow :smsc and :device params to sms module 1 year ago
unicode-to-gsm.lua SMS sending works for basic chars 1 year ago
webhook.fnl read config file to get smsc, phone number & device name 1 year ago

README.md

Grafana SMS alert

Send Grafana alerts via SMS to a mobile phone, using a GSM modem that understands AT commands, such as the Huawei E3131 broadband USB dongle. Fancy SaaS alerting services are great, but what if you want to know that the internet is down?

This runs as a service on localhost:8201 - once you've started it, create a "Webhook" type contact point in your Grafana instance with the url http://localhost:8201.

See Grafana alerting contact points documentation for background

Installation (Nix)

TBD

Testing

Use the sample-alert.json in this repo to simulate the Grafana webhook invocation and check it's operational

curl -v --data @sample-alert.json http://localhost:8201