youngmon/atlassian-qna huggingface dataset:
Close alert on Azure
Asked by Philippe Mireault:

Hello,

We have Azure sending alerts to Opsgenie and everything works as intended. I was wondering if it's possible to configure Opsgenie to change the alert state in Azure when we aknowledge/close an alert.


Answers:
author: Connor Eyles
body: Hi [@Philippe Mireault](/t5/user/viewprofilepage/user-id/4242978)

Great question!

So out of the box, we do not have this functionality for the azure Integration. The Functionality of this integration is "When an alert is created in Azure, an alert is created in Opsgenie automatically through the integration."

However, I could point in the right direction for this one to possibly getting this to work.

If you have OEC configured in your environment you could trigger a script either manually or automatically to access the Azure API to change the state on Azure Alerts.

Here are some useful links for this one:

<https://docs.opsgenie.com/docs/oec-actions>

<https://docs.opsgenie.com/docs/opsgenie-actions-execution>

<https://docs.microsoft.com/en-us/rest/api/monitor/alertsmanagement/alerts/changestate>

Hope this helps!

Thanks,  
Connor


Tags: cloud
OpsGenie integration with MS teams
Asked by Edward.Moxley:

Can the OpsGenie/Teams integration support multiple bots running on different channels at the same time?


Answers:
author: Darryl Lee
body: Hi Edward,

This is Darryl, Opsgenie Support, I am here to help. :)

Please note that 1 Microsoft Teams v2 integration on Opsgenie is can be only mapping with 1 Team on the MS Teams side.

You can set up the scenario like this:

Opsgenie Team A with MS Teams integration A -\> MS Teams Team A

Opsgenie Team A with MS Teams integration B -\> MS Teams Team B

Opsgenie Team B with MS Teams integration C -\> MS Teams Team C

Or the following scenario is also valid:

Opsgenie Team A with MS Teams integration A -\> MS Teams Team A

Opsgenie Team B with MS Teams integration B -\> MS Teams Team A

You can't set up the scenario like this:

Opsgenie Team A with MS Teams integration A -\> MS Teams Team A

Opsgenie Team A with MS Teams integration A -\> MS Teams Team B

Hope this is helpful for you.

Kind regards,  
Darryl Lee  
Opsgenie Support


Tags: cloud
Is it possible to create an alert when a email is not received?
Asked by David Kaftan:

I run a service that sends an email on a daily basis. Sometimes the service doesn't run, and no email is sent - most of the time this is due to network issues on the server. Can this lack of an email trigger an alert?


Answers:
author: Nick H
body: Hi [@David Kaftan](/t5/user/viewprofilepage/user-id/4236894) ,

Sounds like what you need is a Heartbeat: <https://docs.opsgenie.com/docs/heartbeat-monitoring>

Heartbeats are a feature unique to Opsgenie that help monitor the connectivity between Opsgenie and your other systems.

You could have your service trigger an email to the Heartbeat (along with the daily email), and if it's not received by Opsgenie, an alert will be created.

The alert will also resolve itself if the Heartbeat is received after the fact too.

Hope this helps! Let us know if you have any additional questions.
Opsgenie App on Android 11
Asked by stefan.brending:

Hi,  

I am having trouble using the Opsgenie app on my mobile phone using Android11.   
I am not able to log into my account, I receive the following error: "Failed login null".   

<br />

Is Android11 not yet supported or is anyone using the app on Android 11?   

I got the app working running Android9 and Android10.   

Best regards


Answers:
author: stefan.brending
body: Hi [@Emirhan](/t5/user/viewprofilepage/user-id/2227565)  

I just updated the APP to 3.4.1.0 and login is working now!   

Thank you!


author: Emirhan
body: Hey [@stefan.brending](/t5/user/viewprofilepage/user-id/3013187)

What's your app's version? We have identified an issue with the Android Opsgenie app(3.4.0.1 version) and updated our status page accordingly. You can follow the issue from here:

<https://opsgenie.status.atlassian.com/incidents/p0z65s06fg1y>

Cheers,

Emirhan from Opsgenie Support


Tags: cloud
OpsGenie - Email On Call Schedule to 3rd Party
Asked by Robin Stemmers:

Hi All

Trying out opsgenie for the first time.

Is there a way to send out the on-call schedule weekly to a 3rd party ourside of your org.

or a way to automate to send to another Support Team (outside your org)


Answers:
author: Robin Stemmers
body: Thank you all for you assistance, however none of those options are available on the OpsGenie version I have.

Awaiting feedback from Atlassian to check my plan.

Thanks


author: Chris Thomas
body: 1. In the user notification settings you can add additional email addresses there. In the Opsgenie settings somewhere you can have it notify the user who is on call next.

2. If a user has a license you can send to that user if they are in your org or not.

comments: author: Robin Stemmers
body: Thanks for the feedback Chris, however I that does not seem like what I need.

So maybe if I give more background it can help.

I will set up my schedule by various teams, but I need to send a list of all the teams with the respective on call user.

EG

Support Team 1 - Betty Boob - 021 021 021

Support Team 2 - Sponge Bob - 021021021

Support Team 3 - Goldie Locks - 985 698 698

We have about 16 teams on call for the respective areas and each week those individuals change - based on the rotations in the team.

We have another 3rd party who needs to stay informed so that if any underlying infrastructure they know who to contact.

So the idea is to send a list of all who is on call in one view to another email address

I hope this makes more sense.

From you earlier response, it made it sound like I would potentially be sending 16 notifications per week, but I could be misunderstanding.

Many thanks

Robin


author: Chris Thomas
body: I think I understand, there is a way to download the schedule. If you go to the teams page, click on the team, there is a button that will download it as an .ics format. This file can be imported into almost any calendar program.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/126955i3930F92AFF288648/image-size/large?v=v2&px=999 "image.png")

If you are looking for a different file type you can use the following page: <https://www.file-extensions.org/convert-ics-to-pdf>

Please note that I have not done any of these steps.


author: Robin Stemmers
body: Thanks - I will look into it.

I assume this will have to be manually managed and not automated.

Is that asking to much (LOL)

Thanks again

Robin


author: Daniel Ebers
body: You probably could automate it through API - I am still unsure about the exact timestamp you would have to provide, but however, at least something you could have a look into:  
<https://docs.opsgenie.com/docs/who-is-on-call-api>

Does this help?
Can OpsGenie only alert when an Azure alert is still active after 5 or 10 minutes?
Asked by Jerry Sullivan:

We have some Azure alerts set up for our dead letter queues in the microservice topics. If the number \>0, the alert triggers. Our topics also have retry logic, so quite often the alert goes off but is resolved within 5 or 10 minutes (the intervals for data getting updated in Azure.

Can OpsGenie receive the alert but not forward it on unless it is still active after an interval? Azure sends an email when the alert is fired, and when the alert is resolved. So the fired email starts a timer, and the alert is not sent to the on-call person unless the resolved email is not received before the timer (configurable) expires.


Answers:
author: Nick H
body: Hi [@Jerry Sullivan](/t5/user/viewprofilepage/user-id/3786310) ,

Seems like what you need is a Notification Policy: <https://docs.opsgenie.com/docs/team-policies#notification-policy>

These can delay / suppress notifications for X-time. Essentially providing that buffer an alert will have before resolving itself, or notifying your users.

Notification Policies can be configured under a team's Policies tab. Note these are only included in the Standard and Enterprise plans.

Your policy might look something like this:

![np comm 1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/126764iDADC77D8B59A9928/image-size/large?v=v2&px=999 "np comm 1.jpg")

Hope this helps! Let us know if you have any other questions.

comments: author: Jerry Sullivan
body: Nick, thanks for the quick reply. We will dig a little deeper into the link you provided as we assess using OpsGenie.
Import roster rotation
Asked by James Fuller:

Hi Opsgenie,

We have a complicated roster rotation (5 week cycle) with various back-up combinations that needs to be managed outside of Opsgenie. Is it possible to import a spreadsheet or file of another kind to update the rotation in Opsgenie? or to create an API to pull the latest rotation from a file on demand?

Thanks,

James


Answers:
author: Mark Campbell-Vincent
body: Hi [@James Fuller](/t5/user/viewprofilepage/user-id/4232352) -

There currently isn't a feature in Opsgenie that imports rotations/schedules via CSV/Excel spreadsheets. This is a common request, so we do have a feature request regarding this. For now, our developers decided to not go forward with this enhancement.

We have APIs that you can use to create a [schedule](https://docs.opsgenie.com/docs/schedule-api#create-schedule) or a [rotation](https://docs.opsgenie.com/docs/schedule-rotation-api#create-schedule-rotation), but there isn't an API that pulls the most recent rotation from a file.

Hope this answers your question.

comments: author: Thebe Lephallo
body: Hi [@Mark Campbell-Vincent](/t5/user/viewprofilepage/user-id/2365445)

where can i find this APIs


Tags: cloud
How to automatically send Slack alerts to Opsgenie
Asked by Konrad Wallace:

We provide an app that generates alerts and sends these to Slack.  

I want to then send these alerts from Slack to Opsgenie.  

I noticed there was previously a solution described here, but I can no longer access it  
<https://www.quora.com/Is-it-possible-to-send-alerts-from-Slack-to-OpsGenie>  
<https://community.opsgenie.com/t/opsgenie-alerts-from-slack-messages/38>  

It would be great if I could get some clear tips on how to set this up!  

[@Serhat Can](/t5/user/viewprofilepage/user-id/2071066)would very much appreciate you assistance!


Answers:
author: Gabriel Soares
body: I'm really interesting in that solution too


author: Konrad Wallace
body: [@Serhat Can](/t5/user/viewprofilepage/user-id/2071066)Would love your help sir!

comments: author: Konrad Wallace
body: Is someone from Opsgenie able to help with this?
Using the greater than/less than comparison of priority
Asked by Wei:

Hello all,

I am looking to use the notification policy to control some of my alerting notification. When I use the less than or greater than for priority. Is it based on critical or the numeric value?

For example, I only want to send out notifications for p2's and p1's. Would that be

greater than p3

OR

less than p3

P.S. I don't see a \>= or \<= operator.


Answers:
author: Nick H
body: Hi [@Wei](/t5/user/viewprofilepage/user-id/4023799) ,

I suppose the priority is based on *both*the critical and numerical value - since they are paired; P1 = Critical, P2 = High, etc. Personally I view it more in a numerical sense, but I guess it's all personal preference.

Regardless - P5s are the lowest priority level, while P1s are the highest priority level. To send notifications for P1s or P2s, you'd want one these filters below:

![priority comm 1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/126485i1D3EE76099744E9F/image-size/large?v=v2&px=999 "priority comm 1.jpg")

Greater Than P3 = P1 or P2

(Less Than P3 = P4 or P5)

![priority comm 2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/126489iCF63EA97893ED3B0/image-size/large?v=v2&px=999 "priority comm 2.jpg")

At this time, our filters do not have actual \>= or \<= options - but I'd say the second filter shared above is the closest thing to configuring a greater than or equal to filter since it acts like an AND/OR.

Hope this helps! Let us know if you have any additional questions or issues.

comments: author: Wei
body: Thank you very much Nick. This is exactly what I was searching for.
Heartbeat intervalls
Asked by Arild Eik:

Hello

We are trying out Opsgenie and one feature we like a lot is the Heartbeat. Our plan is to use this and let all our small scheduled task "apps" call home and tell us that they still are running.

Since we are talking about scheduled task in Windows Servers, most of our apps are not running at night and weekends. For instance, we have an app sending changes on email at a regular basis during workhours, but not at nights and weekends.

I have tried to match our scheduled intervals in Heartbeat, but cannot find any other possibilities than minutes, hours, and days. Is it possible to add irregular intervals to Heartbeat? If not, is this something that will be added?

Thank you.

Arild


Answers:
author: Darryl Lee
body: HI Arild,

This is Darryl, I am here to help. :)

Understand that you would like to seek a way to configure the un-monitor time period for your heartbeat, unfortunately, this is not feasible in the current design.

However, there is a workaround to achieve the same goal, which is leveraging the Notification Policy.

Since every alerts created by the HeartBeat feature will be tagged with the string "Heartbeat", I suggest access the **Teams \> the same team where your Heartbeat belongs to \> Policies \> Add notification policy**.

On the notification policy configuration page, please set up the filter as

"Tags", "Contains", "Heartbeat"

And set up the time duration you expect the un-monitor time is.

Then, enable the **Suppress notifications permanently** under **Delay/Suppress** , and the **Auto close** function. Like below.

In this way, all the alerts created by your Heartbeat during the un-monitor period will be snoozed and be auto-closed after the designated time, so that none of the on-call users will be bothered or notified by the heartbeat and no need to take any actions since the alerts will be auto-closed after.

![Notification policy example.png](https://community.atlassian.com/t5/image/serverpage/image-id/126625iEE37A4B6284AFA36/image-size/large?v=v2&px=999 "Notification policy example.png")

Hope this is able to help and here I attach the documentation of the Notification Policy for your reference -\> <https://docs.opsgenie.com/docs/team-policies#notification-policy>

Enjoy using Opsgenie :D

Kind regards,   
Darryl Lee  
Opsgenie Support


Tags: cloud
Is Opsgenie has the trigger of Alert creation?
Asked by Dinal Lad:

Hello,

I need to create a Case in Dynamics 365 when an alert created in Opsgenie.

I am not able to find any API for this trigger.

If anyone knows how I can achieve this, please let me know. It would be a great help to us!!


Answers:
author: Nick H
body: Hi [@Dinal Lad](/t5/user/viewprofilepage/user-id/4228705) ,

Opsgenie does not have a prebuilt integration with Dynamics 365 at this time. I'll enter a feature request though.

We'll see most customers integrating their third party systems with Opsgenie through either an API or Email integration:

<https://docs.opsgenie.com/docs/api-integration>

<https://docs.opsgenie.com/docs/creating-alerts-via-email>

But if your use case is to have Opsgenie alerts create tickets in Dynamics 365, you could try leveraging our Webhook integration for outbound requests:

<https://docs.opsgenie.com/docs/webhook-integration>

Hope this helps! Let us know if you have additional questions or issues.
Ready solution for notification of the current on-call schedule on the Slack channel
Asked by medzin:

Is there a ready solution for notification of the current on-call schedule on Slack channel? We use Opsgenie for internal support and we would like people to see immediately who is responsible for the support that day. I can always write my own solution but I wanted to make sure there was nothing similar.


Answers:
author: Kiswono Prayogo
body: so, this basic feature \[email/slack/sms reminding people that they are in the schedule\] doesn't exists '__')?

comments: author: Mykenna Cepek
body: Keep in mind that Opsgenie users can see their schedules in the tool at any time. Odds are that they will be logged in (perhaps on both their computer and in [the phone app](https://www.atlassian.com/software/opsgenie/mobile-app)) so it's just a few clicks or taps away.

I also mentioned a shared-calendar approach above.

Finally, each user can set up notifications. Opsgenie's architecture is very strongly oriented around users having control over their notifications. So a user can set up arbitrary reminders (notifications) for themselves about when they are on-call:

Settings \> Notifications \> Notification Rules \> Schedule start/end.

Personally, I like this approach.

Another advantage is that person-specific schedule notifications can span multiple teams, schedules, and policies, and stay aligned with the user's preferred way(s) of being notified.


author: Mykenna Cepek
body: Note also that the Opsgenie smartphone app makes it easy to see if you are on-call, and to check who is on-call:

![Image_1 2021-02-04_13-29-35.png](https://community.atlassian.com/t5/image/serverpage/image-id/128946i3954FF27DE0BC086/image-dimensions/243x474?v=v2 "Image_1 2021-02-04_13-29-35.png")


author: Mykenna Cepek
body: If you have the Slack integration in your Opsgenie, and a channel set up for notifications, then you can manually use this command in that channel:

```
/genie whoisoncall
```

That is a "private command" (so only you see the response). But it provides the information about "who is responsible for support" at that time.

I suspect from your OP that you want something periodically to be "sent to" (rather than "requested in") the channel? If the above isn't what you need, it might be helpful to clarify more about what you're looking for.

comments: author: medzin
body: Yes, I want something to be periodically sent to a channel e.g. every working day at 9 AM.


author: Mykenna Cepek
body: You probably have to write something custom for that, unfortunately.

One possible substitution might be exporting the schedule to a shared calendar periodically, documented here:

<https://docs.opsgenie.com/docs/your-on-call-schedule>

Having the team reference a shared calendar might be an easier solution.

Otherwise, I ran across this while searching. Might have some content to help you on your customization quest:

<https://thwack.solarwinds.com/t5/THWACK-Community-Discussions/Create-custom-resource-to-show-quot-Who-is-On-Call-quot-via/td-p/379781>


Tags: cloud
Missing escalation options
Asked by Chris Thomas:

On the Opsgenie documentation under "Escilations" they have a video that shows lots of good rule options, however the one I need "Notify next user (in rotation)" is not available with a bunch of other useful ones.

The ones I have:

![OpsG.png](https://community.atlassian.com/t5/image/serverpage/image-id/126143iA32B6E2AFCD2C91F/image-size/large?v=v2&px=999 "OpsG.png")


Answers:
author: Nick H
body: Hi [@Chris Thomas](/t5/user/viewprofilepage/user-id/3697803) ,

That's due to your current plan, and a restriction to the escalation rules: <https://docs.opsgenie.com/docs/escalations>

Under the Free and Essentials Plans, Escalation options **do not** include:

* Notify Group,
* Notify next user in schedule,
* Notify previous user in schedule,
* Notify random member of team and
* Repeat options.

You'd need to upgrade planes to either Standard or Enterprise Plan to use these Escalation options.

comments: author: Chris Thomas
body: I apologize, I thought I read the entire page, I can't be leave I missed that section.

Sorry about that.


author: Nick H
body: No worries! It's easy to miss!
Question about Escalation rules
Asked by Chris Thomas:

I was watching the video here: [https://docs.opsgenie.com/docs/escalations](https://youtu.be/gMUl1KFEIVo) and I noticed a lot more options including the one I need "Notify next user (in rotation)".

How do I get this option instead of hard code a single person or wake up the entire team?


Answers:
author: Connor Eyles
body: Hi [@Chris Thomas](/t5/user/viewprofilepage/user-id/3697803)

Hope you are well!

I'm not sure if I completely follow this question, you are asking how do I get this Option instead of hard coding a single person or waking up the entire team. I'll start with pointing you to the documentation which goes over the possible options for escalation rules <https://docs.opsgenie.com/docs/escalations#escalation-policies>

To get the option for "Notify next user (in rotation)"

1. Start with editing the desired escalation policy.
2. Edit one of the Escalation rules or add a new Escalation rule.
3. Select the Dropdown and choose "Notify next user (in rotation) for schedule"
4. Define the Schedule in the next field (see screenshot)

![Image 2021-01-20 at 10.59.18 am](https://p-25foddj.b0.n0.cdn.getcloudapp.com/items/nOuDGbYZ/df5e9aa2-af09-4ded-bb0c-aa6474b83609.jpg?source=viewer&v=9e83d678108bac2053cf1c915134b194)

Hope this helps!

Thanks,  
Connor
In a JSM generated alert, how do I get a hyperlink set up to go to the Jira ticket?
Asked by Chris Thomas:

As I'm sure many people here have experienced, getting a night call at 3:14am isn't fun. The SO is grumpy, the dog thinks shenanigan's are afoot and tries to helpfully alert everyone in a 1 mile radius of such. The last think I want to do is try to copy the ticket number, switch to a different app, search the app then hope I clicked the right one all on a cell phone.

Is there a way to just set up a hyperlink right to Jira?


Answers:
author: Nick H
body: Hi [@Chris Thomas](/t5/user/viewprofilepage/user-id/3697803) ,

At this time we do not have a dynamic field that provides a hyperlink directly to the ticket - but we do see most customers using this as an alternative:

[https://accountname.atlassian.net/browse/{{key}](https://hello.atlassian.net/wiki/spaces/~650444395/pages/843670359/Opsgenie+Cheat+Sheet# "#")}

\^ "accountname" would be your site, and {{key}} pulls the issue number automatically. This essentially provides a hyperlink to the ticket.

The integration / configuration would look something like this:

![hyperlink comm 1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/126146iE449C09A3355B2ED/image-size/large?v=v2&px=999 "hyperlink comm 1.jpg")

And the alert would look something like this with a clickable link to the ticket:

![hyperlink comm 2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/126147iE02E7CC98ABEA0D6/image-size/large?v=v2&px=999 "hyperlink comm 2.jpg")

Hope this helps! Let us know if you have additional questions or issues around this.

comments: author: Chris Thomas
body: Test great, thanks!


author: Liron
body: Chris,

Liron here - product manager on Jira Service Management. This is interesting for me to read because we are currently developing more and more incident response features to be available from JSM interface, and one of the things we're thinking about is making sure there is a link to the JSM incident right from the alert, exactly for this reason.

Is this basically what youre looking for?

Thanks

Liron