I'd like to integrate Nagios with my own notification mechanism based on HTTP POST requests.
I installed Heroku on the NagiosXI Server, and I am correctly receiving notification in Heroku via HTTP callbacks. The mechanisms is basically a webhook: POST requests are received by Heroku and I'd like to push this notifications and data directly into Nagios dashboard.
I already have Nagios using a Python plugin to pull data from an API, and I could do the same to pull data from the local Heroku, but this time I'd like to avoid the polling using a script.
What I'd like is having Heroku (or any other web server) receiving the POST request from my system, and push that directly into Nagios.
Any advice on this design?
I googled a lot but I'm pretty new to Nagios so I'm kinda lost in the ocean of plugins and mods. I did not find any solution for what I want to do.
Thanks in advance!