youngmon/atlassian-qna huggingface dataset:
Deduplication and Auto Close
Asked by Joe G:

I have this scenario I'm looking for assistance on. These particular email alerts I have integrated into OpsGenie get filtered based on the subject name and assigned an Alias for the deduplication effort. That being "WARNING: server". When the server comes back up, I get a similar subject, but it states "OK: server". What I'd like to do is auto-close the alert when the OK message happens, but I want to close both the OK alert and the WARNING alert. Should I make the filter rule for the alias just on the term "server" and group both together, then close on the alias? Or should I keep the two as separate alerts and manage independently? Is there a better way of doing this I'm overlooking?


Answers:
author: Samir
body: Hi Joe - so what you would want to do is setup a filter on the Create Alert action in the email integration for "subject contains WARNING", and then the filter on the Close Alert Action in the email integration would be "subject contains OK". You would want to make sure the alias field in both the Create Alert action, and the Close Alert action are the same. Sounds like you already got the alias configured. So you would just want to setup the Create Alert actions and Close alert actions as described. In the examples below, I have the alias configured to be the substring after the word "ID" in the subject of the email. Let me know if this helps or if you need anymore clarification!

Create Alert Action:

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

Close Alert Action:

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

comments: author: Miguel_Angel_Navarro_Flores
body: i dont have those options is it because of my plan? what can i do to get those options? ![test.png](https://community.atlassian.com/t5/image/serverpage/image-id/85671iC82700603CCD7D63/image-size/large?v=v2&px=999 "test.png")


author: Samir
body: Hi [@Miguel_Angel_Navarro_Flores](/t5/user/viewprofilepage/user-id/3799501) - the "Advanced" section of integrations is only available on Standard and Enterprise plans. So if you're on Free or Essentials plan, you won't have access to that "Advanced" view of the integrations.

Thanks,

Samir
Notification Policy - Deduplication Count or Time Delay
Asked by Jake Houser:

Hello,

I have a bit of a complex question and was curious if anyone here might have some better insight on how to achieve this:

<br />

My goal is that if am alert comes in at night, a user should not receive a notification until the next morning, unless an alert with that same alias comes in multiple times. At that point, I'd like to push the notification through or increase its priority to trigger a different notification flow. However, from what I can see in the documentation only one notification policy will be applied so I can either suppress the notification until a specific time or until a deduplication count but not both.

I'm open to other methods of solving this problem, which basically boils down to: if one server in a group triggers an alert, it's not necessarily critical, but if multiple servers are all having the same problem, I'd like to aggregate those alerts into a higher priority one. In this example, all of the alerts are triggered individually (from Kapacitor) so they don't know about each other. Is there a way I could manage this other than trying to rely on notification policies? Should I just trigger an auto-restart with a long enough time delay to fire the alert again and hope the time-based notification policy no longer applies?

Any help here would be appreciated!


Answers:
author: Samir
body: Hi [@Jake Houser](/t5/user/viewprofilepage/user-id/2895051) !

You bring up a good point, it's not currently possible to be able to delay notifications until next morning *unless* the deduplication count reaches a certain number. You're right that it's either, delay notifications until next morning OR delay notifications until deduplication count reaches a certain number. There isn't a way to do both.

We do have a feature request to be able to adjust the priority of the alert based on the deduplication count using an Alert policy. So if that was an option, you could just use a notification policy to delay all alerts until next morning if priority is less than P1 for example. And then setup an alert policy to increase the priority of the alert if the deduplication count reaches a certain number. So in that case, notifications would be delayed till next morning unless the deduplication count reaches a certain number, in which case the priority of the alert would increase and the notifications would trigger right away.

I will add this use-case to that feature request. Thanks for the input!

comments: author: Barry
body: Any update on this feature request?


author: Samir
body: Hi [@Barry](/t5/user/viewprofilepage/user-id/2261442) !

We don't have an update on this feature request at this time. However we now have public facing feature requests for Opsgenie, so you can vote for this feature request and watch it for updates here: <https://jira.atlassian.com/browse/OPSGENIE-53>

Thanks,

Samir
OpsGenie voip monitoring
Asked by Jim Green:

Does OpsGenie have a way to monitor if a voip phone line is down?


Answers:
author: Craig Castle-Mead
body: Hi Jim,

OpsGenie itself is not a monitoring platform - it is an alerting and escalation platform that usually works WITH a monitoring platform ( <https://www.opsgenie.com/integrations#monitoring-logging> is a list of existing integrations, but you can setup a custom one if need) - so you'd need to have a monitoring tool checking your VoIP phoneline and then creating an alert via OpsGenie as/if needed.

Not sure what the logic would be for the VoIP phoneline check, however you could do something in AWS like - CloudWatch recurring event that triggers a Lambda function that gets AWS Connect to call the phone number in question, then based on the response (did it ring, was it answered etc, or even have a user input a specific number sequence).

PS - if you go with the last option, I think the numbers would HAVE to be "4 8 15 16 23 42"

<br />

CCM


Tags: voip
Unable to change OpsGenie sounds on Huawei P20 Pro running EMUI 9.0?
Asked by KaramKabbara:

I have the exact same issue as can be found on the old read only forums here:  
<https://community.opsgenie.com/t/alert-sounds-on-huawei-running-emui-8-0/1066/6>

Is there anything that can be done to override OpsGenie notification alert sounds with a custom sound rather than have it produce the same sound as every other alert on my phone?

Thanks


Answers:
author: Brennan Kiely
body: Hi Karam,

I'm not familiar with that specific model, but this is generally a phone limitation. Are you able to change the sounds for any other apps on your phone? There may be a third party app available to change your notification sounds.

-Brennan
Opsgenie: How to disable quiet hours when doing on-call?
Asked by netpanda:

Hello,   

I want to know if is possible to disable Quiet Hours (configured under my profile in Opsgenie) when I am on on-call?  

Do I have to disable it manually?  

Thanks,


Answers:
author: Emirhan
body: Hello David,

Thank you for contacting Opsgenie Community!

Basically, Quiet Hours allows you to define a scheduled time period when you don't want to receive notifications. Therefore, they need to be enabled *manually* when you are on-call.

Hope my answer was helpful,

Let us know if anything else is needed, would be more than happy to help!

Best regards,


author: G?k?em Yi?it
body: Hi David,

Thanks for contacting with Opsgenie. Since Quiet Hours shows the time-frame that you do not want to be notified, they can be disabled manually for taking notifications while you are on-call.

Feel free to reach us, if you will have further questions :)


Tags: notification
Please share me Document to know about Atlassian OpsGenie
Asked by kedar:

Please share me Document to know about Atlassian OpsGenie

i want this to install and work on it .Please share me guide to know about this and setup thsi.


Answers:
author: Emirhan
body: Hey Kedar,

Thank you for contacting Opsgenie Community!

I could provide a lot of resources, depending on what you've been looking for.

Do you want to watch some videos, or would you like to read some documentations about Opsgenie?

From the link below, you can see Opsgenie First Look video;

<https://www.youtube.com/watch?v=YXmjt940JV8>

On the other hand, we also have documentation pages, where our customers could easily go and read features, abilities about Opsgenie.

<https://docs.opsgenie.com/>

Let me know if anything else is needed, we would be happy to help you!

Warm regards,


author: Kat Warner
body: This YouTube video may be helpful - [Opsgenie's Essentials Plan Tour](https://www.youtube.com/watch?v=xzGnv76Svw8)


Tags: jira
Android Oreo 8.1 Notifications Always Playing at Full Volume
Asked by Anmol Lal:

I am using the opsgenie app on my moto G5 plus running Android 8.1. All the notifications play at max volume even though my notification volume is pretty low. I found this post online (<https://community.opsgenie.com/t/android-oreo-8-1-notifications-always-playing-at-full-volume/818>) but I can't find the "Always play notifications on maximum volume option" option in the opsgenie notification settings. Is there some other setting or am I looking in the wrong place for the setting (Apps \& notifications -\> opsgenie -\> App notifications)?


Answers:
author: G?k?em Yi?it
body: Hi Anmol,

Thanks for contacting with Opsgenie.

You can change this setting by following: My Profile\>Sounds.

In the above part of the "Sounds" page you will see an option about disabling maximum sound level that is indicated as "..play Opsgenie sounds at maximum level.."

You can also check this [link](https://docs.opsgenie.com/docs/android-app-changing-notification-sound-for-different-alert-actions) for further info on this.

Feel free to reach us if you will have further questions :)

comments: author: Anmol Lal
body: Thanks, I think that worked. I also encountered another issue today. My phone was put on DND even though it shouldn't have been. When I opened my phone, it said OpsGenie put it on DND. How do I prevent OpsGenie from putting my phone on DND?


author: G?k?em Yi?it
body: Hi Anmol,

I have consulted the case to our engineering team. To clarify, as far as I have learned from them, when "play at max level" is enabled and phone is in silent mode, when notifications are received, we are increasing the sound at maximum level. And in a minute the phone should go back to silent mode. But for some phones (depends on the model), this is taken as put to "DND" mode.

So, this should not happen when you have disabled the "play at max level", is this happening when it is already disabled?

Best regards,


author: Anmol Lal
body: This happened before I disabled the play at max level. It is not happened after that. I will let you know if it happens again when play at max level is disabled.


author: G?k?em Yi?it
body: Hi Anmol,

Sure. You can also reach us from the support page that you are seeing as a blue bubble in the right bottom part of your Opsgenie account.

Wish you a great day!


Tags: android
Opsgenie Eleastic X-pack set priority
Asked by Nigel:

Hay All

I am just getting started with opsgenie and i am trying, to get the watcher xpack in elastic to set the priority of the alert.

But i cant see how to do it.

any advise

\`\`\` Example of the Json code

"body": { "inline": {  
"id": "{{ctx.watch_id}}-{{ctx.trigger.triggered_time}}",  
"vars": {},  
"trigger": {  
"triggered_time": "{{ctx.trigger.triggered_time}}",  
"scheduled_time": "{{ctx.trigger.scheduled_time}}"  
},  
"execution_time": "{{ ctx.execution_time }}",  
"watch_id": "{{ctx.watch_id}} hostname12",  
"payload":{  
"hits":{  
"hits":\[\],  
"total": "{{ctx.payload.hits.total}}",  
"max_score":"{{ctx.payload.hits.max_score}}"  
}  
}  
}  
}

\`\`\`\`

I have tired to add priority in most places in the payload section, but no luck its like opsgenie is ignoring it


Answers:
author: Emirhan
body: Hey Nigel,

Thank you for contacting Opsgenie Community!

Sorry for the delay getting back to you. At this point, API endpoint based integrations don't support the custom priority mapping feature. We have a ticket open right now to update the interface so that the option isn't there, since it's understandably confusing to see in the drop-down.

Therefore, we would recommend you to define different create alert rules under X-Pack Alerting integration and define filters for each of these create alert rules, in which conditions alerts should be raised in different priorities.

For example, if "Total Hits" contains/equals "XX", then create an alert with P1/2/3/4/5 priority.

Hope this helps,

Best regards,

comments: author: Nigel
body: thank you, for the information and confirming this


Tags: watcher
Is remote agent a requirement for a deployment to Windows host?
Asked by Jhillaker:

First, apologies as this might be a dummmmb question.  
I am coming from TFS build/release process and getting my feet wet with Bamboo.   

I am working on testing out Bamboo as a potential replacement to our TFS process.  

I'm trying to make my first project as simple as possible, so my first test is to basically do a build/deploy of a web assets from repo to a Windows server.   

My next test will be deploying SharePoint webparts. But that will come later.  

I know in TFS, a build agent is required, but not really any deploy agents are needed to destination deploy hosts.   

All of that for me to ask:  
For Bamboo, do all destination deploy servers require a remote agent? Another way for me to ask-- Is it possible to deploy artifacts to a Windows machine with Bamboo without a remote agent?  

Are there any other agents required?   

Thanks in advance!


Answers:
author: Lasse Langhorn
body: Hi,

You do not need a remote agent in order to deploy to a windows host. Bamboo can deploy to an any environment no matter the OS.

But building artifacts that will run a Windows OS you must have special capabilities for the agent that will build these artifacts.

So if you are to make artifacts for a Windows OS, I would recommend a Bamboo remote agent running on Windows OS that have the capabilities to build these artifacts.

The flexibility of Bamboo is the remote agents that can have different capabilities depending on the artifacts that must be build by each remote agent.

Recommended articles:

1. [Bamboo deployment projects](https://confluence.atlassian.com/bamboo/deployment-projects-338363438.html)
2. [Bamboo - getting started with .Net](https://confluence.atlassian.com/bamboo/getting-started-with-net-and-bamboo-289277288.html)
3. [Bamboo - Agents and capabilities](https://confluence.atlassian.com/bamboo/agents-and-capabilities-289277114.html)
4. [Bamboo- configuring remote agent capabilities using Bamboo capabilities properties](https://confluence.atlassian.com/bamboo/configuring-remote-agent-capabilities-using-bamboo-capabilities-properties-289276849.html)

Regards

Lasse Langhorn


Tags: agent

deployment

windows
IP address list needed to be whitelisted in AWS
Asked by Guptaji Teegela:

Hi Team,

We have a Windows server in AWS which should accept traffic from bitbucket pipeline over the port 22.

Could you please provide us the list of IP address to be whitelisted.

I have visited one of the link which has more than 70 IPs which is more problemetic to manage.

Thanks,

Guptaji


Answers:
author: Radek Antoniuk
body: Check out [What are the Bitbucket Cloud IP addresses I should use to configure my corporate firewall?](https://confluence.atlassian.com/bitbucket/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall-343343385.html)
Does anybody know why the Trigger I set are being removed by the System?
Asked by Joel_Enriquez:

I have set scheduled triggers on my deployment project, however every month(seems like a random day) it seems the triggers are being removed

After checking the Audit logs

The Triggers are being removed by the SYSTEM

Do you have an idea why this is happening?![Capture.PNG](/t5/image/serverpage/image-id/91428i288D298C3C04B22F/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Gerhard Forster
body: Hi [@Joel_Enriquez](/t5/user/viewprofilepage/user-id/2748676),

That's really weird. Two hints here.

1. If you open *\<Bamboo home directory\>/logs/atlassian-bamboo.log* , so your **Bamboo Server log** and grep for either "Trigger has been removed"or anything with "trigger" or "removed", can you match that with an error or an exception? If so, you might want to google for this error / exception and see where it points you to. Possibly that guides a way to solve this issue out.
2. Since the origin of this "trigger removal" is called out to be SYSTEM, if you check your **system logs** for the dates and times of the Audit log, what does that tell you?

As the incidence is seemingly SYSTEM triggered, I would not expect you to find a lot per step (1) from above. Even though, it's a chance and thus worth trying.

Finding something in the system logs, I'd regard as much more realistic. And as root of this issue, I could just think of any process on your Bamboo host that, for whatever reason, provokes that accidentially.

++Another viable question is always this++ : Since when do you see this happeneing and what you made just before the first time that you saw it? That might have been **some Bamboo-, system- or possibly network-wise change** and it might get you more ideas of what to look into.

Hope that I could be of some help. For any further assistance that you'd like, merely get back to your Community per this thread.

Thanks a lot, Gerhard


Tags: deployment

trigger
Error in SCP Task : from Windows Bamboo Agent to Windows Remote Server
Asked by agilegit:

I would like to know the format of the destination path name to be filled in Remote Path field in SCP Task for a file transfer from Windows Bamboo Agent Machine to Windows Remote Machine. There seems to be no documentation or tutorial or QA forum that clarifies this.

Bamboo Version: **Bamboo Server 6.8**

I am trying to move files and folders from my Bamboo **Windows Agent machine's** Working directory to a **Windows Remote Server** using the **SCP Task**. I am getting following error.

E:\\DevOpsDir is the full path of the directory in the Windows Remote machine. I have verified that this is a valid path in that remote machine.

This value is entered in the field **Remote Path** in the SCP Task configuration page.
>
> ```
> simple 21-Apr-2020 17:06:34 Uploading 'C:\Users\UserName\bamboo-agent-home\xml-data\build-dir\BambooJOB1\RepoName' to 'E:\DevOpsDir'...
>
> error 21-Apr-2020 17:06:34 Failed to upload E:\DevOpsDir, Remote SCP command had error: scp: 'E:/DevOpsSLBDir': Invalid argument
>
> error 21-Apr-2020 17:06:34 Copy Failed. Some files were not uploaded successfully.
> ```
>
> I have tried other options as well in the Remote Path field. All leading to errors mentioned below.
>
> 1. Remote Path = /DevOpsDir ( I created a path at C:\\Users\\UserName\\DevOpsDir at windows remote machine).
>
> Error Message: "Path does not exist."
>
> 2. Remote Path = UserName@IPAddress:E:\\DevOpsDir
>
> Error Message: "Invalid argument"


Answers:
author: odesto
body: I'm facing the same error, did you resolve the issue?
Upgrade path from Bamboo version 6.2.5 to 7.0.3
Asked by jal58:

Hi All,

according to the upgrade path on the Atlassian site we would need to take Bamboo from 6.2.5 to 7.0.3 via version 6.5.

Is this the case? It would be nicer to do it in one hop, if that's not too big a risk.

Thanks,

Anna


Answers:
author: Jeyanthan I
body: Hi [@jal58](/t5/user/viewprofilepage/user-id/3355211) ,

When you do a major upgrade jump between versions, there are chances that something goes wrong and we might not be able to isolate the problem when you encounter any issues.

For instance, we have introduced embedded crowd feature for user management in Bamboo 6.6. If you encounter issues during the upgrade to 7.0.3, our safe fallback would be to 6.5, which is still fairly recent than the version you use and thus it gets easier to troubleshoot in a more recent version.

Although the direct hop might just work, it is best to follow our recommended upgrade approach. Hope that clarifies.

Cheers,  
Jey
Problems with auth between Jira and Bamboo
Asked by Flemming Laursen:

When opening Bamboo link, it redirects to the below address for reinstalling (IP/port replaced with X's):

<http://xx.xx.xx.xx:xxxx/setup/setupLicense.action>

When opening the Jira application links it cannot find the Bamboo server.

The problem happened over night....can it be some windows updates or are there any other way we can trouple shhot the probelm via Jira/Bamboo?


Answers:
author: Jeyanthan I
body: Hey [@Flemming Laursen](/t5/user/viewprofilepage/user-id/3798465) ,

This URL denotes that your server has redirected you to the default license entry page. The license and database connection details are stored in your *\<bamboo-home\>/bamboo.cfg.xml*. It is possible that your server can no longer access your home directory and thus it is redirecting to the license page.

It is also possible that someone has modified your \<bamboo_home\> path defined in the file: *\<bamboo_install\>/atlassian-bamboo/WEB-INF/classes/bamboo-init.properties*

Cheers,  
Jey

comments: author: Flemming Laursen
body: Finding out the *\<bamboo-home\>/bamboo.cfg.xml* were set back to trial license and all other settings lost somehow.....have reinstalled Bamboo again and restored from backup and now it seems to be OK. I am only now struckling with my lincense - running on a trial license even we have a purchased one.

But how this can have happende probably caused by an windows update I have no clue.


Tags: authority
how can i runt junit test ?
Asked by mahfoudh yosser:

i want to use junit parser to use my unit tests on my project .

when I run it I get this error

![Capture.PNG](/t5/image/serverpage/image-id/91145iFD9F8901ADE8BDCC/image-size/large?v=v2&px=999 "Capture.PNG")![Capture.PNG](/t5/image/serverpage/image-id/91146iBAEA02C0DEA09E86/image-size/large?v=v2&px=999 "Capture.PNG")![Capture.PNG](/t5/image/serverpage/image-id/91147iC53C3850AE69F5CA/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Lasse Langhorn
body: Hi,

If your java project is using Maven you should use a Maven task like Maven 3.x and then define a Maven goal like this for the task:

```
clean install
```

This will run the unit tests you have in your Java project.

The Junit Parser is used for parsing the unit results you have in your project not actually running the tests.

Hope this makes sense.

Regards

Lasse Langhorn