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

      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 "]

        1. key_parameters.png
          14 kB
          Glebs Ivanovskis
        2. parameter_unquoted_string.png
          22 kB
          Glebs Ivanovskis

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

              Created:
              Updated:
              Resolved: