Hi Guys
I am going to develop a small program using Python. This program will do the following:
Anyone please guide me How I will do this.
Thanks
Hi @Anil Sharma - as far as developing the web application, I can't offer much guidance there. But in regard to closing and acknowledging alerts in Opsgenie from Python, you can leverage our Alert API to acknowledge and close alerts from a python script.
Here is the documentation for the 2 requests...
Close Alert API Request - https://docs.opsgenie.com/docs/alert-api#close-alert
Acknowledge Alert API Request - https://docs.opsgenie.com/docs/alert-api#acknowledge-alert
We have found using the "requests" library in Python as a good option for making requests to our API.
Hope that helps!
Thanks,
Samir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.