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

Map Element -> Item Value -> Negative Threshold Bug

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 7.4.1rc1, 8.0.0alpha1 (master)
    • 7.4.0
    • Frontend (F)
    • Zabbix 7.4.0
      Debian 12
      8 vCPU
      16 GiB RAM
      25 GB Disk
      External Postgresql DB
    • Prev.Sprint, S25-W28/29

      Context:

      I have a calculated item that returns:
      -2: Interface Link Down
      -1: Interface Admin Down
      0-100: Interface usage percentage

      I set the thresholds as shown in the print below:

      When the item value is -1, the line turns red, and when the item value is -2, the line turns black.

      To make it clearer, I made a test map, with a test host, that has items with static values ​​(-2, -1, 0, 10, 15, 25, 30, 40, 45, 55, 60, 70, 75, 85, 90, 100), and created a link for each of these values. (attached the export of the map and the host)

      The link on the left is configured as "Item Value", the one on the right as "Static Link" to simulate the expected value.

      You can see the >= behavior happening for items with positive values. But not for negative values.

      Steps to reproduce:

      1. Create a item that contains a negative value.
      2. Edit a map.
      3. Create a map element.
      4. Select "Item Value" option in "Indicator Type" and select the item created in step 1.
      5. Define thresholds with the negative value.
      6. Save the map.
      7. See in the map the wrong color for the link item value.

            dfofanovs Dmitrijs Fofanovs
            viniciusgruske Vinicius Gruske Dorneles
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: