youngmon/atlassian-qna huggingface dataset:
Auto close or do not alert on CloudWatch Alarms
Asked by Paul Donnelly:

Hi,

I have set up an AWS CloudWatch integration with OpsGenie.

I am receiving alerts that I don't want to receive. When a CloudWatch alarms goes from INSUFFICENT to OK I get an alert in OpsGenie. Is there a way to stop these alerts?

I currently have close alert configured like this but it doesn't seem to work

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/237255iB3C505DBC31078D9/image-size/large?v=v2&px=999 "Capture.PNG")

The description basically contains part of the alarm description I receive into OpsGenie

Is there anything else I should try?

Thanks


Answers:
author: Paul Donnelly
body: In the end I set up an ignore rule for any alarms that have a status of OK and this stopped the recovery alerts coming in


author: Nick H
body: Hi [@Paul Donnelly](/t5/user/viewprofilepage/user-id/5125498) ,

If these CloudWatch requests are creating alerts instead of closing them - then you will want to review the Create Alert action / which condition(s) is matching.

All integration actions are processed in an order of operations from top \>\> down. Opsgenie will use the first matching action - so in this case it sounds like Opsgenie is being told to create an alert before it has the chance to review the close action / filter.

For more on that: <https://support.atlassian.com/opsgenie/docs/use-advanced-integration-settings/>

You should also be able to simplify and consolidate that Close action's filter to something like this using [regex](https://support.atlassian.com/opsgenie/docs/regular-expressions-for-improved-alert-filtering/#Regular-Expressions-for-Filtering-with---x27-Matches--x27--Rule):

![awscw1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/237258iAEA7C1B6B3F9C2F6/image-size/large?v=v2&px=999 "awscw1.jpg")

comments: author: Paul Donnelly
body: Thanks Nick

Does the alarm description have to match exactly? The reason I ask is that these alarms start with the same description but then can vary each time they come as they have different environment names or machine names

For example one alarm could come in as ScheduleUpgrade-dev-12345

Next time it could be SchedlueUpgrade-prod-56789

Is it OK to set the alarm description as ScheduleUpgrade

EDIT: I tried the alarm description as ScheduleUpgrade but I still got an alert.

Is there a wildcard option I can use? Something like ScheduleUpgrade-\*


author: Nick H
body: You should be able to use [regex](https://support.atlassian.com/opsgenie/docs/regular-expressions-for-improved-alert-filtering/) in that case.


Tags: cloud
Is there an Opsgenie on-prem Agent?
Asked by Bedag SYX2:

We are currently testing Opsgenie. Our alarm sources cannot access the Internet directly. Only via proxy alarms could be sent from the systems to Opsgenie. Is there a solution for this, like an agent or an API gateway that can collect all alarm sources and send them to Opsgenie?


Answers:
author: Belliveau_ John
body: You might want a monitoring system that can collect, optionally relate, categorize, and prioritize your alarms. Zabbix is an option that we've used successfully, and integrates with Opsgenie. [Zabbix \& Opsgenie](https://www.zabbix.com/integrations/opsgenie)


Tags: cloud
MS Teams integration send alerts also ne delay policies
Asked by Ron:

Hi,

we configured a notification delay at night due to the fact that we only provide 9/5 support.

Unfortunately the MS Teams integration sends alerts during this times.

Any idea how this can be fixed?

I can not configure not send a message if alert is snoozed. (I am using Safari)

Thanks in advance.


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

It's not possible to delay / suppress MS Teams notifications. We have an open feature request for this functionality you can follow, watch and vote for here: <https://jira.atlassian.com/browse/OPSGENIE-726>


Tags: cloud
OpsGenie Logs Location?
Asked by Paul Donnelly:

Hello,

I'm not receiving test notifications from New Relic into OpsGenie

Is there a log I can look at within OpsGenie? I am an admin of the Team but when I check under settings I can see no mention of logs.

Is there anywhere else I can see them?

Or do I need to be an Atlassian admin?

EDIT: I needed higher privileges to see them and now I can

Thanks


Answers:
author: Mubeen Mohammed
body: Hello [@Paul Donnelly](/t5/user/viewprofilepage/user-id/5125498)   
Thank you for contacting the Atlassian community!

As you have correctly mentioned in the ticket edit you are required with Opsgenie account admin/Owner privileges to view the Debug logs from Settings \> Logs. You can further understand user roles and permissions by following the [document](https://support.atlassian.com/opsgenie/docs/learn-user-roles-and-permissions/).

I hope the information provided is helpful.

Regards

Mubeen Mohammed

Cloud Support Engineer


Tags: cloud
How can we manually close alerts eg. Cloudwatch integration alerts
Asked by Priya Nambiar:

There are some alerts in cloudwatch that may not be closed correctly through the integration setup.

If that happens, is there a way to "Manually close" alerts.

Today if a user tries to manually click the Close button, it gives error " Incoming data doesn't match the rule"

How can we enable users to manually close alerts in addition to auto close rule setup in Cloudwatch integration for example.


Answers:
author: Mubeen Mohammed
body: Hello [@Priya Nambiar](/t5/user/viewprofilepage/user-id/1640727)

Thank you for contacting the Atlassian community!

As I understand from the request, you are facing issues closing the alert. Can you please further elaborate on getting the error "Incoming data doesn't match the rule" when manually attempting to close the alert? May I please know if the user attempted to close the alert on the Opsgenie user interface and got that error? Can you please attach any screenshot of the error? Please note if you are required to share any user or organization related sensitive information then please do reach out to us at <https://support.atlassian.com/contact> and our technical support team will help you accordingly.

For closing the alerts there are currently two options available,

1. Manually closing the alert from the Opsgenie user interface using the close button on the alert.

2. Configuring [Advanced Integration](https://support.atlassian.com/opsgenie/docs/use-advanced-integration-settings/) settings for the close alert condition. If you are noticing the error "Incoming data doesn't match" in alert logs then this is the setting required to configure correctly to match the incoming payload from Cloudwatch to Opsgenie alert condition.

I hope the information provided is helpful.

Regards

Mubeen Mohammed

Cloud Support Engineer


Tags: cloud
How to make ticket updates bidirectional when using the Jira Cloud / Opsgenie integration?
Asked by Issy Pearson:

I'm testing out the new integration between Jira Cloud and Opsgenie and so far so good.

However there is one scenario I am having trouble with that goes as follows: When an issue is created in Jira Cloud, a subsequent alert in created in Opsgenie. Then when I update the priority of the Jira Cloud issue, the priority of the subsequent alert in Opsgenie does not update. As a user I would expect the Opsgenie alert to update its' priority based on any changes made to the Jira Cloud issue. How would I go about doing this? I'm aware of the incoming integration rules that can be setup in Opsgenie, but so far I've found that it doesn't handle this scenario.

Below are the incoming automation rules that are in place at the moment:

![Screenshot 2023-01-27 165637.png](/t5/image/serverpage/image-id/236790iE9A924FDEFBCF096/image-size/large?v=v2&px=999 "Screenshot 2023-01-27 165637.png")![Screenshot 2023-01-27 165706.png](/t5/image/serverpage/image-id/236789i9C64A0A9C7031FF0/image-size/large?v=v2&px=999 "Screenshot 2023-01-27 165706.png")

Any help would be much appreciated and if there are any other details I can provide, please let me know.

Thanks :)


Answers:
author: Mubeen Mohammed
body: Hello [@Issy Pearson](/t5/user/viewprofilepage/user-id/5097725)   
Thank you for contacting the Atlassian community!

The ability to update the Opsgenie alert priority when the Jira ticket priority is updated is currently possible only with the Legacy Jira integrations and currently, this option is not available on new Jira Cloud Integrations. However, we have a feature request open with our engineering team and [OPSGENIE-205](https://jira.atlassian.com/browse/OPSGENIE-205) is the ticket ID for your reference.

I hope the information provided is helpful.

Regards

Mubeen Mohammed

Cloud Support Engineer


Tags: integration

jira

jira-cloud
How to close on premise SCOM alerts when corresponding Opsgenie cloud alert is closed
Asked by Wong:

We have integrated our on premise SCOM monitoring with OpsGenie cloud so that the SCOM alert will create an OpsGenie alert, which will then create and incident ticket in Jira Service Management. Our support team will then work/close the ticket in JSM, which will then close the ticket in OpsGenie. How do I make the call back to the on-premise SCOM server to close the corresponding SCOM alert?


Answers:
author: John M
body: Hi [@WB](/t5/user/viewprofilepage/user-id/3537536) ,

You can use Opsgenie's [OEC integration](https://www.youtube.com/watch?v=sCcZHTxsX3g&feature=youtu.be) to send actions from Opsgenie to any third-party on-prem applications. First, install the OEC integration in Opsgenie, then follow the installation instructions to install OEC on your server.

Overview:

<https://support.atlassian.com/opsgenie/docs/opsgenie-edge-connector-as-an-extensibility-platform/>

Installation:

<https://support.atlassian.com/opsgenie/docs/opsgenie-edge-connector-installation-packs/>

configuration:

<https://support.atlassian.com/opsgenie/docs/configure-opsgenie-edge-connector/>

comments: author: Wong
body: Thanks, John. Completed all of the above, any link to documentation/example on how to create actions in OG \> OEC \> SCOM?


Tags: cloud
How do i know where is the location of advanced setting?
Asked by Elzha Odie:

i'm opsgenie user with admin role, but i can't find its button except basic setting. does anyone could help me?


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Elzha Odie](/t5/user/viewprofilepage/user-id/5130666) and welcome to the community,

What advanced settings are you looking for to change?

comments: author: Alex Koxaras _Relational_
body: This maybe?

<https://support.atlassian.com/opsgenie/docs/use-advanced-integration-settings/>

If yes, then notice the following:
> Advanced integration settings are only available on Opsgenie's Standard and Enterprise plans.
>
> If you're using Opsgenie as part of your Jira Service Management, advanced integration settings are available on Jira Service Management's Premium and Enterprise plans.


Tags: administration

cloud
Jira Integration in Opsgenie
Asked by Zihe Wang:

Hi,

We are trying to get alerts when someone tagged the user in comments(comment body) and here is our setup:   

![Screen Shot 2023-01-25 at 2.19.36 PM.png](/t5/image/serverpage/image-id/236469iA769D490EB0014AD/image-size/large?v=v2&px=999 "Screen Shot 2023-01-25 at 2.19.36 PM.png")

But it is not working. However, when the 'Assignee' 'Matches' {oncall user name}, it works.   
Thanks.


Answers:
author: Nick H
body: Hi [@Zihe Wang](/t5/user/viewprofilepage/user-id/5130358) ,

I think it would all depend on how the data is parsing in the payload / [Logs](https://support.atlassian.com/opsgenie/docs/search-logs/) when a comment is added, and a user is tagged in the comment.

A few tests I ran show the user's ID parsing in the comment instead of the user's name or email:

![comment1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/236681i2D9F72B85DEEA2CA/image-size/large?v=v2&px=999 "comment1.jpg")

![comment2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/236689i39D3EA5D120CEDAD/image-size/large?v=v2&px=999 "comment2.jpg")

If you want alerts to only be created when a user is tagged in a comment, then I think you'd want your Create Alert action filter to look something like this:

![comment3.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/236687iAE73B5B5253AFC57/image-size/large?v=v2&px=999 "comment3.jpg")

\^ Using [regex](https://support.atlassian.com/opsgenie/docs/regular-expressions-for-improved-alert-filtering/), this filter will create an Opsgenie alert when an issue is created OR a comment is added, AND a user is tagged in the comment.

```
Event Type Matches .*(~issue_commented|issue_created).*

Comment Body Matches .*(~accountid:).*
```

comments: author: Zihe Wang
body: Hi Nick,

Thank you so much for the detailed solution and experiement! It works!

Thanks again,

Zihe


Tags: cloud
Bring Salesforce Trust system status into OpsGenie
Asked by Bin Liang:

I am new to OpsGenie Cloud. How can I bring Salesforce.com system health data into OpsGenie? So we can filter them and present into our StatusPage for our user community. So our users do not need to go to different 3-party vendor systems to subscribe status.

My understanding is that the OpsGenie built-in Integration with Salesforce is to integrate for our ORG's cases, not SFDC general system health status.

<https://status.salesforce.com/products/Salesforce_Services>

Thanks!!


Answers:
author: Bin Liang
body: I found something: <https://trust1-public.s3.amazonaws.com/notifiction_guide/en/TrustNotificationGuide.pdf>. It is from here: [https://help.salesforce.com/s/articleView?id=000389335\&type=1](https://help.salesforce.com/s/articleView?id=000389335&type=1). It seems email / SMS subscription only. No Webhooks.

comments: author: Ricardo Gonzalez
body: have you successfully integrated opsginie with salesforce?


Tags: cloud
GSM gateway
Asked by Ilie Vidican:

Hi all.

We are trying to use opsgenie to send voice calls (alerts) to our maintenance team. For this we want to implement our own gsm gateway (or similar hardware)

Is there a recommended compatible hardware that would work with Opsgenie?

Any info would be welcomed. Thank you.


Answers:
author: Nick H
body: Hi [@Ilie Vidican](/t5/user/viewprofilepage/user-id/5129470) ,

Not entirely sure if there is a "*recommended compatible hardware that would work with Opsgenie* " - but most customers will leverage either an [Email integration](https://support.atlassian.com/opsgenie/docs/integrate-your-email-with-opsgenie/) or [API integration](https://support.atlassian.com/opsgenie/docs/create-a-default-api-integration/) if we do not already offer a prebuilt integration. If your external system can trigger one of these requests to Opsgenie then you should be able to create alerts.

comments: author: Ilie Vidican
body: Thank you Nick. We are looking into [Twilio](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-twilio/) at this time.
Testng parser results to custom bamboo variable
Asked by daniel_waelti:

I want to get testng results and store them in variables, but there's no explanation what "testng parser" actually does and what I can do with it. I want to write a bash script and make use of the numbers of passed and failed tests. Is there a way to achieve this?

testng-results ignored="0" total="1" passed="0" failed="1" skipped="0"


Answers:
author: Eduardo Alvarenga
body: Hello [@daniel_waelti](/t5/user/viewprofilepage/user-id/4968673), Welcome to **Atlassian Community**!

Please check Bamboo's JUnit Parser:

* [JUnit Parser](https://confluence.atlassian.com/bamboo/junit-parser-289277056.html)

Regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: daniel_waelti
body: [@Eduardo Alvarenga](/t5/user/viewprofilepage/user-id/4365410) This is not very helpful. The information about usage of JUnit Parser is as sparse as it is for Testng Parser. I'd like to know, how to actually extract the values from the test report xml (Imho this is the purpose of this plugin, or not?).

Regards

Daniel


author: Eduardo Alvarenga
body: Hello [@daniel_waelti](/t5/user/viewprofilepage/user-id/4968673)

Sorry but Bambo will not export the TestNG results to a variable or text file. For that, you will have to run the equivalent testNG class manually via a Script task, write the results to a file and feed them back to Bamboo through an "Inject Bamboo variables" task.

* [Configuring a variables task](https://confluence.atlassian.com/bamboo/configuring-a-variables-task-687213475.html)

Eduardo Alvarenga  
Atlassian Support APAC
Bamboo failing to scan for bamboo specs in linked repository
Asked by Cole Westbrook:

We are beginning to integrate Bamboo Specs into our CI/CD Process in Bamboo. After walking through Atlassian tutorials [here](https://confluence.atlassian.com/bamboo/tutorial-bamboo-specs-yaml-stored-in-bitbucket-server-941616819.html), [here](https://docs.atlassian.com/bamboo-specs-docs/8.2.3/specs.html?yaml#starting-with-yaml), and [here](https://confluence.atlassian.com/bamboo/enabling-repository-stored-bamboo-specs-938641941.html), I...

1. Added a Project via web UI

2. Walked through Specs \> "Set Up Specs Repository" and linked the target repository.

3. Pushed a Bamboo.yaml file located in bamboo-specs directory inside the repository root.

4. Manually went to the Linked Repository settings and clicked "Scan" to scan for bamboo specs.

The prompt then said it's attempting to scan but immediately finished without finding any and said the repository was never scanned. After reading related support articles I gathered that adding a more up-to-date git capability was a common solve for this issue and we added git for windows to the Bamboo agent server. Though when we then added Git to the Server Capabilities, all Bitbucket-linked plans and repositories lost their connection. I hit "save changes" to force a retry of the remote connection and was given the error in the attached screenshot.

"Unable to negotiate with \[IP\] port \[port\]: no matching host key type found. Their offer: ssh-rsa fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists."![Auth failure.png](/t5/image/serverpage/image-id/202081i490C7B7DBAA9B8FC/image-size/large?v=v2&px=999 "Auth failure.png")


Answers:
author: Marcin Gardias
body: Which version of Bamboo is it? Older versions of Bamboo have problems working with recent versions of Git for Windows because of removal of key exchange algorithms that are considered insecure:

<https://jira.atlassian.com/browse/BAM-21467>


Tags: git

server

spec
Bamboo Specs Requirements
Asked by George Sullivan:

We have Bamboo 6.8.0 Build 60803. Will this version support Bamboo Specs? I am having trouble finding a chart showing which Bamboo Specs release matches Bamboo 6.8.0.


Answers:
author: Alexey Chystoprudov
body: Rule of thumb, version of Specs is the same as Bamboo version

See specs references for your version at <https://docs.atlassian.com/bamboo-specs-docs/6.8.0/>
Docker containers hung issue
Asked by ext-dariusz.gorczyca:

Hi,

I am facing the following problem.  

The build of one of the containers in my Bamboo freezes at least once a month. Resetting Bamboo VM fixes the problem for a while and then it comes back. I started to suspect that the docker version might be the cause (see below for details). Can a simple docker update cause any problems? What do you think about it?  

I will be grateful for your help.

**Bamboo version** : 8.0.4  
**Docker version:** 20.10.12  
**Last freeze time until cancel** **:** 943 mins


Answers:
author: ext-dariusz.gorczyca
body: The reason of that problem was a big number of \<none\> named images on docker repository.


Tags: container
Upgrading Apache log4j software in Bamboo
Asked by ganeshmurthi_s:

[Atlassian Bamboo](http://www.atlassian.com/software/bamboo/) version 5.15.5 build 51518 - 28 Mar 17

log4j1.x is EOL and has many vulnerabilities. We are upgrading the log4j-1.2.17.jar software with the latest version log4j 2.17.2. The bamboo service is not running at all.

We have the below queries.

1. Is there any configuration that Bamboo will run only on log4j1.x.

2. How to upgrade the latest log4j2.x ?

3. Do we need to upgrade the Bamboo version itself?


Answers:
author: Eduardo Alvarenga
body: Hello [@ganeshmurthi_s](/t5/user/viewprofilepage/user-id/4033198),

Bamboo does not support Log4j 2.x. Atlassian has a forked version of Log4J that has fixes for all the recent vulnerabilities.

[Please upgrade](https://confluence.atlassian.com/bamboo/bamboo-upgrade-guide-720411366.html) to the latest versions of Bamboo 8.0, 8.1 or 8.2 to be covered.

More information: <https://confluence.atlassian.com/kb/faq-for-cve-2021-44228-1103069406.html>

Regards,

Eduardo Alvarenga
Reveal deployment plan variables defined that looks ******
Asked by PRASHANT GANJI:

The deployment plan has password defined a long time ago and now that the deployment getting failed need to verify what actual secret key is given...  
is there a way to get/reveal the secret key which looks \*\*\*\*\*\*\*\*


Answers:
author: Eduardo Alvarenga
body: Hello [@PRASHANT GANJI](/t5/user/viewprofilepage/user-id/4964602) Welcome to **Atlassian Community**!

Bamboo does not expose any variables that contain "password" on its name. To retrieve the contents of such variables you can create a Script task and echo the contents to a file and later on read the contents of that file directly on the build folder.

Don't do that within the same Job as Bamboo will mask the output. You need to read the file directly on the build folder.

Best regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: PRASHANT GANJI
body: Thanks [@Eduardo Alvarenga](/t5/user/viewprofilepage/user-id/4365410) ,   
Its Deployment Plan and not Build Plan in which we got cluster secrets  
So hope this procedure will help for deployment plan as well..
Error "Unable to publish artifact:" but the artifact is there at the end
Asked by Norbert:

Bamboo is running on a Windows server

If I run the job on the default agent (windows server)-\> everything fine  
If I run the same on the remote agent "Linux" everything works except I get an error  

```
simple 13-Jun-2022 12:18:16 Publishing an artifact: stuff
error 13-Jun-2022 12:18:16 Unable to publish artifact [stuff]: 
error 13-Jun-2022 12:18:16 The artifact is required, build will now fail.
simple 13-Jun-2022 12:18:16 Finished publishing of artifact Required shared artifact: [stuff], pattern: [**/*.py] in 278.1 ms
```

but the artefact "Stuff" is there, even on the Linux build and it looks ok...  

The only way to disable the error is to disable the "Required" flag for the artefacts...  
But I am quite confused why I get the error at all.

configuration of the artifact:![artifact_config.png](https://community.atlassian.com/t5/image/serverpage/image-id/201695i2DC66BFECB287202/image-size/large?v=v2&px=999 "artifact_config.png")


Answers:
author: Norbert
body: Hello

found the problem

for this plan "custom artifact handler" was activated  
The default publishing worked fined but somehow we (I) activated agent local publishing  
with a windows folder which failed for the linux build.

IMHO this is a bug in Bamboo because you don't get any info on what is failing!

Obviously, it was a folder which was not accessible but without any feedback, I only stumbled over the solution through luck!