Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-5735

An option to get event tags as structured data in webhooks

    XMLWordPrintable

    Details

    • Type: New Feature Request
    • Status: Closed
    • Priority: Low
    • Resolution: Duplicate
    • Affects Version/s: 4.4.5, 5.0.0alpha1, 5.0 (plan)
    • Fix Version/s: None
    • Component/s: Server (S)

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              vjaceslavs Vjaceslavs Bogdanovs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: