Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

No tags on PRTG alerts

Edited

Hi All, 

 

I'm currently integrating PRTG following the documentation here.

 

At some point, on PRTG side, we have to provide the payload to send to Opsgenie when a threshold is reached. But it seems that the payload does not contain the tags detail inside (here is the payload). 

 

Naturally, when I add "tags=%tags" in the middle of the payload chain, trigger an alert and then, take a look to the payload received on Opsgenie side, I can see that the tags are received which is good :

TagsInLogs.PNG

But, to add that information into the "tags" field in the alert template of the PRTG intagration, I should drag and drop the "tags" field but it does not exist and adding it manually does not change anything (see below). 

NoTags.PNG

Any ideas or similar issue faced with a workaround ? 

 

Thanks for your help

2 answers

2 accepted

3 votes
Answer accepted

Hello All, 

Coming back to my post, I found a workaround that is quite clear. After taking a look to the logs on opsgenie, I saw that the "tags" field was under _httpParams, so I used the Dynamic fields to get that value like this : 

GettingTagsValue.PNG

If someone has a better way to do it, don't hesitate to propose here ! 

I've applied the method suggested, however, it brings ALL the tags from PRTG into OpsGenie as one tag with a very long name and spaces inbetween the tagnames as defined in PRTG, e.g. if I have tags Server, VM and Prod defined, it shows as 1 tag in OpsGenie called "Server VM Prod". Is there a way to split it into multiple tags?

Hi @Nicki , 

I faced the same issue but didn't investigate further. It seems that there is a bunch of existing methods to parse the strings in the opsgenie documentation. It could maybe help you as a workaround.

Like Nicki likes this

Thanks, but it does not appear to have anything that can help. No split function, and no array handling/parsing, which is sad.

Absolutely ! I admit that is an important function to have in that case. 

Like Nicki likes this
1 vote
Answer accepted
Nick H
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 26, 2022

Hi @Volkan Sutcu ,

Since the tags field is not available by default with the PRTG integration, how you are extracting them with your custom field is the best way.

This Community Article might also be helpful for other options: How to Extract Custom Fields and Data into an Alert

Hi @Nick H,

Thanks for your message. Indeed, the workaround I applied comes from the article you mentioned and wrote !

Thanks for your help. 

Like Nick H likes this

Hi @Nick H

is there a workaround for the essentials plan aswell?

I opened a Question myself (https://community.atlassian.com/t5/Opsgenie-questions/Tags-field-in-PRTG-Integration/qaq-p/2227403?utm_source=dm&utm_medium=unpaid-social&utm_campaign=P:online*O:community*I:social_share*)

But would be nice if this helps anyone else whom only have the essentials plan because automated filling of tags should be a default feature imho.

Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events