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

{EVENT.TAGS} not protected in notifications

    XMLWordPrintable

Details

    • Change Request
    • Status: Need info
    • Trivial
    • Resolution: Unresolved
    • 4.2.0
    • None
    • 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

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

            Dates

              Created:
              Updated: