Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-1096 Configurable Timeout per item (host interface|item)
  3. ZBXNEXT-8726

Simplify timeout conversion in server, fix net.x metric timeouts in agent2

    XMLWordPrintable

Details

    • Team A
    • Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023)
    • 2

    Description

      zbx_dc_item_t.timeout is set when preparing item before polling (zbx_prepare_items) with following steps:

      1. copy from timeout_origin
      2. expand macros
      3. validate timeout

      The timeout validation step can optionally return converted timeout in seconds. It would make things more simple if the converted timeout would be stored in zbx_dc_item_t as integer rather than in string format.

      This change would affect item polling (server/proxy side) and network discovery. This does not affect active agent handling and proxy-server configuration sync.

      Attachments

        1. agent2.diff
          3 kB
        2. plugin-support.diff
          0.9 kB
        3. valgrind_errors.txt
          378 kB

        Issue Links

          Activity

            People

              dgoloscapov Dmitrijs Goloscapovs
              wiper Andris Zeila
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: