Hi @Ana Laura de Melo ,
It'd realistically depend on your plan. Under the Free and Essentials plans, you'd need an integration per team. But under the Standard and Enterprise plans an Advanced tab is available where you can filter on the New Relic alerts, determine which Opsgenie teams should receive which alerts, and manage this all under one integration.
You'd want to add this integration from under the Settings menu >> Integrations tab. You'd also want to leave the integration unassigned to any team, and head into the Advanced tab:
Here is where you can configure what requests create alerts, along with close, ack, add notes, etc. Leaving the integration unassigned opens a Responder field under each create alert action.
You'd want to configure multiple create alert actions that filter on the data being sent from New Relic to Opsgenie. Then depending on the data / filters, determine which team(s) receive the alert:
In those two create alert actions above, the filter is looking at the Owner (along with the State). If Owner = IT, these would send to the IT Team. If Owner = Dev, these would send to the Dev Team. And so on.
These actions are processed in an order of operations from top >> down, so if Opsgenie does not match the top action, continue looking at the following action(s) until a match is met.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.