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

Does not perform validation of numeric value in step "Custom multiplier" for Item preprocessing

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 4.0.0alpha6
    • Fix Version/s: None
    • Component/s: Server (S)

      Description

      Steps to reproduce:

      Consider the following case1:

      1. I create a trapper item.
      2. I set preprocessing with single multiplication step. Multiplier is set to {$MULTIPLIER}.
      3. I didn't define a value for this macro.

      Now I always get zeroes for a value as {$MULTIPLIER} resolves to empty string and empty string is considered to be 0.

      Consider the following case2:

      1. I create a trapper item.
      2. I set preprocessing with single multiplication step. Multiplier is set to {$MULTIPLIER}.
      3. I define a value for this macro as 10X.

      Now I always get 10 for a value as {$MULTIPLIER} resolves to 10, although this is not a number.

      Expected:
      The Item should become unsupported with information about error reason

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              MVekslers Michael Veksler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: