PointPubMedia
(PointPub Media Communications Inc.)
1
Hi,
Is there an easy way to send notification using an http call with a json instead of having to define all the “environment” variable ?
We are trying to send all notification to an http endpoint that will manage them and it will be easier to maintain having a json that contain everything instead of having to define all variable one by one…
I don’t get it, why not just rip out the formatting and authentication for Teams and replace it with the one your tool needs?
Maybe you can combine Library Reference - Icinga 2 with Library Reference - Icinga 2 so you don’t need to handle every variable separately but I doubt that your HTTP endpoint can handle Icinga2 objects formatted as JSON without some formatting or in the case of JSON structuring.
<100 variables it’s maybe faster doing it by hand then coding it
PointPubMedia
(PointPub Media Communications Inc.)
5
we are building a custom endpoint that’s why I only need to send a full JSON!
Our endpoint will manage it after!
I think I will modify our actual PHP script that was responsible to send the notification to just also send out a json to our http endpoint.