[ZBX-14850] Cannot create item: Invalid update interval "0" when using dependent item prototype Created: 2018 Sep 14  Updated: 2018 Sep 24  Resolved: 2018 Sep 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 4.0.0beta2
Fix Version/s: 4.0.0rc1, 4.0 (plan)

Type: Problem report Priority: Major
Reporter: beatcracker Assignee: Vladislavs Sokurenko
Resolution: Fixed Votes: 2
Labels: items, lld
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File DEP_TEST.json     PNG File dep_item_crop.PNG     PNG File dep_test.PNG    
Issue Links:
Causes
caused by ZBXNEXT-3848 Validate update intervals of discover... Closed
Duplicate
is duplicated by ZBX-14894 Zabbix trapper items cannot be create... Closed
is duplicated by ZBX-14852 Unable to create an Item of type "Zab... Closed
Team: Team A
Sprint: Sprint 42
Story Points: 0.5

 Description   

Steps to reproduce

  1. Import attached template
  2. Assign it to Windows host
  3. Wait for discovery rule to trigger

Result

Discovery rule fails to create dependent item from prototype with error:

Cannot create item: Invalid update interval "0".

Zabbix versions

  • Server: 4.0.0beta2
  • Proxy: 4.0.0beta1 Revision 84219 27 August 2018, compilation time: Aug 28 2018 10:07:22

I'l try to update Zabbix proxy to 4.0.0beta2 next week and see if it helps.



 Comments   
Comment by Alexey Pustovalov [ 2018 Sep 14 ]

Hello!

Please show us prototype screenshot and JSON data.

Comment by Vladislavs Sokurenko [ 2018 Sep 14 ]

Validation was implemented in ZBXNEXT-3848

Comment by beatcracker [ 2018 Sep 14 ]

It's all in the template, all data is static. This template should be able to reproduce issue on any Windows host.

LLD JSON:

{
  "data":[
    {
      "{#ITEM}":"FOO"
    }
  ]
}

Item screenshot

I don't think that LLD itself is the issue. it's looks like Zabbix tries to use "delay" item prototype property (which is 0) and doesn't realize that it's optional for dependent items.

Comment by Vladislavs Sokurenko [ 2018 Sep 14 ]

Fixed in:

  • pre-4.0.0rc1 (trunk) r84925,84926
Comment by Vladimir Ulogov [ 2018 Sep 14 ]

I've had a similar issue ZBX-14852, but with Zabbix Trapper Items, not with Dependent Items. Can you confirm, that it was fixed for all types which doesn't require "Update Interval" ?

Comment by Vladislavs Sokurenko [ 2018 Sep 14 ]

Yes I confirm, update interval validation was removed.

Generated at Fri Mar 29 10:58:00 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.