[ZBXNEXT-3848] Validate update intervals of discovered items during creation or update Created: 2017 May 03  Updated: 2024 Apr 10  Resolved: 2018 Nov 29

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Server (S)
Affects Version/s: 3.4.0alpha1
Fix Version/s: 4.0.2rc1, 4.2.0alpha1, 4.2 (plan)

Type: New Feature Request Priority: Minor
Reporter: Glebs Ivanovskis (Inactive) Assignee: Vladislavs Sokurenko
Resolution: Fixed Votes: 0
Labels: lld, troubleshooting, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
causes ZBX-14850 Cannot create item: Invalid update in... Closed
Duplicate
is duplicated by ZBX-13693 Undefined offset in items list due no... Closed
Team: Team A
Team: Team A
Sprint: Sprint 41, Sprint 43, Sprint 44, Sprint 45, Sprint 46, Nov 2018
Story Points: 3

 Description   

In current implementation server simply resolves LLD macros in update intervals and checks the resulting string length. If macro values contain invalid intervals this results in discovered items with invalid intervals. Such items will become not supported anyway, but in this scenario they will additionally create some load on server and may produce a few notifications.

It's better to fail creation of new items and not update existing ones if their update intervals are invalid.



 Comments   
Comment by Alexander Vladishev [ 2018 Aug 21 ]

"Keep history" and "Keep trends" also must be validated.

Comment by Vladislavs Sokurenko [ 2018 Aug 28 ]

Fixed in development branch:
svn://svn.zabbix.com/branches/dev/ZBXNEXT-3848

Comment by Vladislavs Sokurenko [ 2018 Aug 29 ]

Available in:

  • pre-4.0.0beta2 (trunk) r84312
Comment by Vladislavs Sokurenko [ 2018 Sep 14 ]

Has been reverted in r84925

Comment by Vladislavs Sokurenko [ 2018 Nov 20 ]

Implemented in:

  • pre-4.0.2rc1 87086
  • pre-4.2.0alpha1 (trunk) 87087
Generated at Sat Apr 20 17:02:37 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.