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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.