Hi Team,
We are using standalone Opsgenie, and we use tags to categorize the alerts. I have one concern: if alerts are coming regarding servers, there may be different servers. For example, one alert might be for a server lock and another for a 07f1server block. The alerts regarding servers should go under only one tag and should not create different tags for each server alert. Is it possible to achieve this? If yes, how can it be done?
Thanks & Regards,
Armitha Reddy Toorpu Ceema,
Atlassian Engineer.
Hey Armitha,
Thanks for reaching out to Atlassian Community!
Yes, it is possible to categorize all server-related alerts under a single tag in Opsgenie. You can achieve this by using regular expressions (regex) in your integration settings to ensure that different variations of server alerts are grouped under a common tag. Here’s how:
1. Create a Regular Expression:
- Develop a regex pattern that matches different variations of server alerts. For instance, if your alerts include terms like “server lock” or “07f1server block,” you can use a pattern to capture these variations.
2. Update Integration Settings:
- Go to your Opsgenie integration settings where you define your alert rules.
- Add a condition to check if the alert message matches your regex pattern for server-related alerts.
- Apply a common tag, such as server-alert, to all alerts that match this pattern.
By using this approach, all server-related alerts will be tagged uniformly, helping you avoid the creation of multiple, slightly different tags for similar alerts.
Best Regards,
Egor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.