Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/supme/webhooksms
Webhook for send SMS from SMPP transport
https://github.com/supme/webhooksms
alerting grafana prometheus sms webhook
Last synced: 25 days ago
JSON representation
Webhook for send SMS from SMPP transport
- Host: GitHub
- URL: https://github.com/supme/webhooksms
- Owner: Supme
- License: mit
- Created: 2018-08-03T14:50:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-06T13:25:15.000Z (over 6 years ago)
- Last Synced: 2024-09-30T08:03:02.139Z (about 1 month ago)
- Topics: alerting, grafana, prometheus, sms, webhook
- Language: Go
- Homepage:
- Size: 3.15 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webhooksms
Webhook for send SMS from SMPP transportSupport Grafana, Prometheus webhook send SMS
## Install
Download latest version from https://github.com/Supme/webhooksms/releases
```
tar -xvzf webhooksms-v0.x.x.tar.gz
useradd --no-create-home --shell /bin/false webhooksms
cp webhooksms /usr/local/bin/
chown webhooksms: /usr/local/bin/webhooksms
mkdir /var/log/webhooksms
chown webhooksms: /var/log/webhooksms
mkdir /etc/webhooksms
cp config.ini.example /etc/webhooksms/config.ini
chown -R webhooksms: /etc/webhooksms
cp webhooksms.service /etc/systemd/system/
systemctl daemon-reload
```
edit /etc/webhooksms/config.ini
```
systemctl enable webhooksms
systemctl start webhooksms
```## Use
Send webhook method POST and Basic Auth (user and password from config):
- Grafana (tested)
```
http://host/grafana
```
- Prometheus (not tested)
```
http://host/prometheus
```