Macros likeĀ {EVENT.TAGS} ({EVENT.RECOVERY.TAGS}, etc) can be used in Webhooks to pass tags to other systems (including ticketing systems). Depending on the content of the tags it becomes nearly impossible to get tag data as macro is substituted by a string where macros and their values are separated by comma.
I propose to introduce additional macro (like {EVENT.JSONTAGS}) that could be expanded to some structured form (array of macros or at least JSON string) containg macros that can be used without additional parsing.
This fix is really useful for integrations with ticketing systems where tags can be passed by webhook from Zabbix problem event to ticket data.
- duplicates
-
ZBXNEXT-5369 Macro like {EVENT.TAGS} that expands to JSON format
- Closed