Values are not being saved by dependent items with preprocessing step "Change per second"

XMLWordPrintable

    • S26-W22/23
    • 1

      Problem description: in case if a dependent item uses preprocessing step "Change per second", it does not save its value, unless "Execute now" is not launched for the master item (and even then item behavior is strange) or until the server is restarted.

      P.S. this issue s easily reprodusible when monitoring postgreSQL using the official "Postgresql by Zabbix agent2" template.

      Steps to reproduce:

      1. Import the following host: host_with_dependent_items_preprocessing.yaml
      2. Wait for the master item to start collecting data
      3. Check "Latest data" view for items from the imported host
        Result 1: "Item with only JSONpath" is recewing data, but there is nothing for "Item with JSONpath and CPS" item.
      4. Open configuration of "Script master item" item and edit the script - increase the value of the "tup_updated" key in the JSON
      5. Check "Latest data" view for items from the imported host.
        Result 2: "Item with JSONpath and CPS" item is still not receiving any data.
      6. Launch "Execute now" for the master item several times
        Result 3: at some point the "Item with JSONpath and CPS" item has obtained value 0.

      Expected: Accorgind to <documentation>, Change per second preprocessing step should ommit the value only if the new value is smaller than the old one

      Zabbix server log file with Debug level of preprocessing manager and preprocessing worker set to 5: zabbix_server_for_CPS_preprocessing.log

            Assignee:
            Andris Zeila
            Reporter:
            Sergejs Olonkins
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 5h
                5h