-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpsGenie action type #56403
Comments
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
Hi, is there any chance of releasing this feature in 7.10? |
This is currently targeting 7.12 for release. In the meantime, you may be able to integrate with OpsGenie using the webhook connector: https://www.elastic.co/guide/en/kibana/7.9/webhook-action-type.html. |
@mikecote The webhook integration doesn't support passing request params for post that I need to OpsGenie. |
@yevgenytrcloudzone I may need more context on your use case. Is this for having a parameterized URL? based on context. There is an issue that tracks some findings when using the webhook connector for OpsGenie, you can find it here: #75299. |
@mikecote I am trying to get Kibana Alerting to work with OpsGenie and (in opposed to Watcher) it does not seem to have support for REST request parameters. Is there a plan to provide an option to pass HTTP request parameters with the Kibana Alerting Webhook? |
@yevgenytrcloudzone request parameters could mean a couple of things, in your case which of the following are you trying to use?
Or if you can provide what your watcher config looks like, we can try and see what part is missing from the webhook action type. |
To make things more clear, what I need is the same level of integration that exist today with PagerDuty. It's described for watcher integration here, but we use Elastic Cloud and I need this to be working with Kibana alerts. |
cc @arisonl |
Moving from |
BTW, if anyone is interested, the only work around is sending the alerts as e-mails to the e-mail integration at OpsGenie. |
Moving from |
Moved to backlog? :( It's nearly identical to Pagerduty, with different endpoints and config. Anything we can do help speed this up? |
It is currently a major downside compared to the datadog OpsGenie integration. Our teams are using both Elastic and datadog, and migrating completely to Elastic is a nogo because of that. |
Hello, Would you accept a pull request for that feature (ie. an OpsGenie connector)? |
Hi @nithril 👋 , The short answer is: Yes, absolutely! The long answer is: The team working on the alerting platform covers everything you can see in our project, which is quite a lot of stuff, and our capacity (like all engineering teams ;) ) is limited. This means it might take us a while to get through the whole process, so I would urge you to only go to the effort if you have the time and patience to bear with us through that. 😄 If you feel comfortable with those caveats, then, by all means, lets do it! 😍 Where to start? To improve our chances I'd suggest we do the following: Start small Any PR we review will have to include reliable unit tests and functional tests, documentation, and implementation that follow our contribution guidelines. An example to look at: So, while that PR can help you, there's quite a bit of noise in there as well. I think the changes you'd need to make can be boiled down to (I might be missing something 😬):
Once you have those four, I think we can begin to review the PR and help you get it to the finish line. 😄 Good luck!! 🤞 🤞 🤞 |
Hey! Questions to all the watchers on the ticket: Has anyone come up with a good strategy for auto-closing alerts in OpsGenie? I am aware that OpsGenie has an auto-close policy. However, it always closes alerts after it has received 100 notifications from Elastic for it. In practice that means open alerts get auto-closed and re-opened every few hours which is rather annoying. Anyone an idea how to solve that? (Besides having a specific OpsGenie action type that takes care of properly closing alerts :)) |
@yevgenytrcloudzone , I have a same use case as yours. I tried to use opsgenie alert api but it is difficult to pass dynamic variable in post api url in api connector. Seems you used Email connector to achieve that, will the alert resolved automatically in opsgenie when it is resolved in elastic search or it creates new alert ? can you confirm that? Thanks |
@beercialfo unfortunately this method will create an alert for each action instead of aggregating all the actions in one alert like with any other API based integration for OpsGenie. |
Thanks for your quick reply @yevgenytrcloudzone . Above you said is for alert api integration right, @mikecote, When can we expect OpsGenie connector like pagerduty? |
Email integration will only create an alert per email message received. Every action (critical/warning/recovered/no data) will create a new alert because there is no way to co-relate or distinguish alerts via email. |
Thank you @yevgenytrcloudzone. FYI In Standard plan there is a way to avoid creating new alert for recovered one using filters. |
This is not related to the subject, so please let's just stop here. |
We will start working on this in the coming weeks, but we don't have a promise to what release it will be included within. |
I am testing this connector on 8.6.1 and found a bug with I already reported to support (pending confirmation). |
@marcomusso thanks for pointing that out and providing feedback! I'm closing this issue and will create additional enhancement issues from your feedback. |
Describe the feature:
Send notifications to OpsGenie through their alert api.
Like other action types, the key field when binding to an alert will be
message
, but this action should be similar to PagerDuty in expressiveness, including as many JSON body fields as practical, like :alias
,description
,priority
,source
,entity
etc.The text was updated successfully, but these errors were encountered: