Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10723

Possible loss of leading whitespace in key parameters when creating items with low level discovery

    XMLWordPrintable

    Details

      Description

      Taken from ZBX-10681.1
      Suppose we have the following item prototype:

      item[{#VALUE}]
      

      If the value of the LLD macro is " value ", the following item is created:

      item[ value ]
      

      However, this is wrong, because the leading space will be trimmed when parsing key parameters. To keep the spaces this parameters should have been quoted: item[" value "]

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            wiper Andris Zeila
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: