Hi Team, I am using alertmanager to create alerts and want to integrate it with opsgenie. I understand the basics of it and able to get the alerts via opsgenie. But I want to send alerts created by prometheus to Lambda function from opsgenie via webhook.
From the documentation, I understand that it alerts are created in opsgenie then they go to webhook. But I want to send it to webhook url(lambda function) from alertmanager via opsgenie.
Can you please help me here,
Hi There,
Thanks for the question! You're right — when Alertmanager sends alerts to Opsgenie, those alerts can then trigger outgoing actions like webhooks. So the flow you're aiming for is totally possible.
If your goal is to send alerts from Prometheus (via Alertmanager) to a Lambda function, you can do that by setting up a webhook integration in Opsgenie. Once the alert is created in Opsgenie, it can trigger a webhook to your Lambda URL. That way, Opsgenie acts as the middle layer that filters and routes alerts before reaching Lambda.
Just make sure your webhook integration is properly configured and that any automation rules or notification policies are set to send the alert once it arrives in Opsgenie. You might also want to format the payload to match what your Lambda function expects.
I hope this helps!
Best Regards,
Egor
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.