Hello Adam,
We are try use Webhook transport for our script. But Observium send empty POST.
Is there some other settings in config file for this transport?
Thank you
Tom
Odesláno z mého chytrého telefonu Samsung Galaxy.
-------- Původní zpráva -------- Od: Adam Armstrong adama@memetic.org Datum: 14.01.19 16:57 (GMT+01:00) Komu: chott--- via observium observium@observium.org Cc: chott@praha1.net Předmět: Re: [Observium] Generic Notification API SMS
You would just write a shell script to do this using the script transport.
Adam.
Sent from BlueMailhttp://www.bluemail.me/r?b=14063 On 14 Jan 2019, at 15:25, chott--- via observium <observium@observium.orgmailto:observium@observium.org> wrote: Hello,
Is there some method how we can set notification via generic HTTP GET ?
We have SMS provider and there is example of GET command
https://%7Bbase_url%7Dhttps://dev.infobip.com/getting-started/base-url/sms/1/text/query?username=myUsername&password=myPassword&to=41793026727,41793026834&text=Message text
Where for example variable „text“ will be Environment Variable from Observium like
text=OBSERVIUM_ALERT_STATE, OBSERVIUM_DEVICE_HOSTNAME, OBSERVIUM_DEVICE_LOCATION
Thank you
Tom
________________________________
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium