Dependent item is evaluated even if its master did not change the value

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Critical
    • Affects Version/s: 7.0.22, 7.0.23, 7.4.6, 7.4.7, 8.0.0alpha2
    • Component/s: Proxy (P), Server (S)
    • None
    • Environment:
      Linux 6.12.72-linuxkit #1 SMP Mon Feb 16 11:19:07 UTC 2026 aarch64 Linux/Alpine 3.23.3/ Zabbix 7.0.23
    • S26-W10/11
    • 0.25
    • 1

      Steps to reproduce:
      Deploy 7.0.21 and 7.0.23:

      git clone https://github.com/zabbix/zabbix-docker.git
      
      git checkout 7.0
      
      diff --git a/.env b/.env
      index 432bb72b3..48fa92104 100644
      --- a/.env
      +++ b/.env
      @@ -4,7 +4,7 @@ ZABBIX_CENTOS_IMAGE_TAG=centos-7.0
       ZABBIX_OL_IMAGE_TAG=ol-7.0
       ZABBIX_UBUNTU_IMAGE_TAG=ubuntu-7.0
       ZABBIX_RHEL_IMAGE_TAG=rhel-7.0
      -ZABBIX_IMAGE_TAG_POSTFIX=-latest
      +ZABBIX_IMAGE_TAG_POSTFIX=.21
       ZABBIX_LOCAL_IMAGE_TAG_POSTFIX=-local
       
       ZABBIX_SERVER_MYSQL_IMAGE=zabbix/zabbix-server-mysql
      
      docker compose -f docker-compose_v3_alpine_mysql_latest.yaml up -d
      
      diff --git a/.env b/.env
      index 432bb72b3..48fa92104 100644
      --- a/.env
      +++ b/.env
      @@ -4,7 +4,7 @@ ZABBIX_CENTOS_IMAGE_TAG=centos-7.0
       ZABBIX_OL_IMAGE_TAG=ol-7.0
       ZABBIX_UBUNTU_IMAGE_TAG=ubuntu-7.0
       ZABBIX_RHEL_IMAGE_TAG=rhel-7.0
      -ZABBIX_IMAGE_TAG_POSTFIX=-latest
      +ZABBIX_IMAGE_TAG_POSTFIX=.23
       ZABBIX_LOCAL_IMAGE_TAG_POSTFIX=-local
       
       ZABBIX_SERVER_MYSQL_IMAGE=zabbix/zabbix-server-mysql
      
       docker compose -f docker-compose_v3_alpine_mysql_latest.yaml up -d
      

      Create host 'test', assign template:

      Send value:

      zabbix_sender -z 127.0.0.1 -s test -k master.log -o "{linux:7}"
      

      The upgrade from version 7.0.21 to version 7.0.22 has changed the logic of evaluating dependent items.

      A dependent item (LEVEL2) that has a dependency on a previous dependent item (LEVEL1) evaluates to "Custom on fail" even if there was no change in value at level 1.

      Example:

      1. We have a master item, for example for a log for various events
      2. There are several dependent items "level1" linked to the master, each evaluating its own search string and has a preprocessing where there is a custom on fail: Discard value (the first picture)
      3. There are several dependent items "level2" linked to "their" item "level1" and have a preprocessing where there is a custom on fail: Set value to: -999 (the second picture)

      Since version 7.0.22, a dependent item is evaluated even if its master did not change the value.

      Result:
      7.0.23:

      Expected:
      Like it was in 7.0.21:

      Probably related to the: https://support.zabbix.com/browse/ZBX-26867

        1. dependent_items_problem.yaml
          3 kB
          Edgar Akhmetshin
        2. Screenshot 2026-03-10 at 14.36.35.png
          161 kB
          Edgar Akhmetshin
        3. Screenshot 2026-03-10 at 14.42.49.png
          169 kB
          Edgar Akhmetshin

            Assignee:
            Martins Valkovskis
            Reporter:
            Edgar Akhmetshin
            Team A
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 40h
                40h
                Remaining:
                Time Spent - 3h 10m Remaining Estimate - 36h 50m
                36h 50m
                Logged:
                Time Spent - 3h 10m Remaining Estimate - 36h 50m
                3h 10m