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 :
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
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 :
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Absolutely ! I admit that is an important function to have in that case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nick Haller,
Thanks for your message. Indeed, the workaround I applied comes from the article you mentioned and wrote !
Thanks for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nick Haller
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.