You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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 :
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).
Any ideas or similar issue faced with a workaround ?
Thanks for your help
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 :
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 @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
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.