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

{EVENT.TAGS} not protected in notifications

    Details

    • Type: Change Request
    • Status: Need info
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.2.0
    • Fix Version/s: None
    • Component/s: Server (S)

      Description

      Steps to reproduce:

      Create a trigger with some tags with one containing a comma like

      a_tag = this is , a test

      class = ZABBIX

      Create an action that will run a command on zabbix server. The command is

      echo {EVENT.TAGS} > /tmp/tags

      Make the trigger fire

      Result:
      **

      The file content is:

      a_tag:this is , a test, class:ZABBIX_SERVER

      You can notice that strings are not protected and make it difficult to parse with regex.

      Expected:
      I expect all values to be enclosed with quotes or comma protected

        Attachments

          Activity

            People

            • Assignee:
              zabbix.dev Zabbix Development Team
              Reporter:
              GuiGuiGui GuiGuiGui
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: