Configurable Timeout per item (host interface|item) (ZBXNEXT-1096)

[ZBXNEXT-8726] Simplify timeout conversion in server, fix net.x metric timeouts in agent2 Created: 2023 Sep 26  Updated: 2024 Apr 10  Resolved: 2023 Oct 22

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent (G), Server (S)
Affects Version/s: None
Fix Version/s: 7.0.0alpha7, 7.0 (plan)

Type: Change Request (Sub-task) Priority: Trivial
Reporter: Andris Zeila Assignee: Dmitrijs Goloscapovs
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File agent2.diff     File plugin-support.diff     Text File valgrind_errors.txt    
Issue Links:
Duplicate
is duplicated by ZBX-23530 Server crash when calling manual host... Closed
Team: Team A
Sprint: Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023)
Story Points: 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.



 Comments   
Comment by Dmitrijs Goloscapovs [ 2023 Oct 19 ]

Available in versions:

Generated at Thu Apr 03 02:23:55 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.