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

{EVENT.TAGS} not protected in notifications

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 4.2.0
    • Server (S)

      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

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

              Created:
              Updated: