default.nix | ||
GSM0338.TXT | ||
handler.fnl | ||
main.fnl | ||
Makefile | ||
README.md | ||
sample-alert.json | ||
server.fnl | ||
sms.fnl | ||
unicode-to-gsm.lua |
Grafana SMS alert
Send Grafana alerts via SMS to a mobile phone, using a GSM modem that understands AT commads, 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 alerticing contact points documentation for background
Installation (Nix)
TBD
Testing
You can simulate the Grafana webhook invocation check it's operational with the sample-alert.json in this repo:
curl -v --data @sample-alert.json http://localhost:8201