Add transport for Smsmode (SMS provider) (#11332)

* Add transport for Smsmode (SMS provider)

* Delete Smsmode.php

* Add SMSmode to doc using API transport
This commit is contained in:
Anael Mobilia
2020-04-26 13:02:04 +02:00
committed by GitHub
parent aa68be59a2
commit 1b7d0dd4e9

View File

@@ -583,6 +583,22 @@ either local or international dialling format.
| Password | smseagle_user_password |
| Mobiles | +3534567890 <br/> 0834567891 |
## SMSmode
SMSmode is a SMS provider that can be configured by using the generic API Transport.
You need a token you can find on your personnal space.
[SMSmode docs](https://www.smsmode.com/pdf/fiche-api-http.pdf)
**Example:**
| Config | Example |
| ------ | ------- |
| Transport type | Api |
| API Method | POST |
| API URL | http://api.smsmode.com/http/1.6/sendSMS.do |
| Options | accessToken=_PUT_HERE_YOUR_TOKEN_<br />numero=_PUT_HERE_DESTS_NUMBER_COMMA_SEPARATED_<br />message={{ $msg }} |
## Syslog
You can have LibreNMS emit alerts as syslogs complying with RFC 3164.