![](https://secure.gravatar.com/avatar/3ccbde21fda4c309b62528f985f99d60.jpg?s=120&d=mm&r=g)
Hi,
All methods to send notification by SMS needs internet. But if link to internet is down the messages never arrives on time.
i was working on a solution "homemade", this implement a Arduino as web server and Gsm shield. Now observium can send SMS without externals.
I have selected webhook as method but always it showme in debug
Notifying [webhook] arduino: {"url":"http://A.B.C.D"} [FALSE]
Arduino must send a response but i dont know what field send ... status, code ...?
somebody have this data?
![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
Hi,
First, to answer your webhook question:
You need to return a json response to the webhook. If you set the "status" property to "successful" Observium will consider sending the hook OK, if not, it'll be false. i.e. returning {"status": "successful"} when the SMS was sent correctly should make Observium happy again.
Second, to answer "sending SMS directly from Observium":
I have created (but not committed yet) an smstools alerter which uses http://smstools3.kekekasvi.com/ to send out SMS alerts. If you add a USB dongle to your Observium server (or pass through to your VM) you can send out
Will be in Observium soon - but does not fit your current system of course...
Tom
On 5/30/2019 10:29 PM, Arnoldo Vidal Bravo via observium wrote:
Hi,
All methods to send notification by SMS needs internet. But if link to internet is down the messages never arrives on time.
i was working on a solution "homemade", this implement a Arduino as web server and Gsm shield. Now observium can send SMS without externals.
I have selected webhook as method but always it showme in debug
Notifying [webhook] arduino: {"url":"http://A.B.C.D"} [FALSE]
Arduino must send a response but i dont know what field send ... status, code ...?
somebody have this data?
--
Saluda cordialmente
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
résztvevők (2)
-
Arnoldo Vidal Bravo
-
Tom Laermans