[ZBX-22545] Dependent item with Master item as a prototype is not created. Created: 2023 Mar 18  Updated: 2023 Mar 22  Resolved: 2023 Mar 22

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 6.2.7
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Thiago Henrique Caetano Tamiozzo Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-03-17-18-29-34-418.png     PNG File image-2023-03-17-18-30-07-826.png     PNG File image-2023-03-17-18-30-24-277.png     PNG File item_prototypes_including_master_item.png     PNG File lld_list.png    

 Description   

I have an prototype item in a LLD discovery that receive a text with a external check, then I tried in many ways to create a dependent item to process the information of the prototype item but the items never got created by the LLD.

Then I tried to change the master item as a "normal item" from the template and all the new items got created.

After this I changed the master item inside the Dependent item and now, all the items are created and working with the right master item.



I think that is some sort of bug because if it was not supposed to work, changing the master item from a "normal item" to a "prototype item" would remove all the items created  before.



 Comments   
Comment by Alexey Pustovalov [ 2023 Mar 20 ]

sorry, it is not clear, what master item key in LLD rule? Is it totalOnuOffline?

Comment by Thiago Henrique Caetano Tamiozzo [ 2023 Mar 20 ]

Hello Alexey.

When I create a Dependent Item Prototype and the Master Item is a Item Prototype(from the same LLD), this item is not created by the template on the selected host.

If I change the Master item of the Dependent Item Prototype for a Item(Outside the LLD), the template creates the item on the host.

After item has been created by the template I can change the master item inside the template, for the Item Prototype(from the LLD) and then the item works as first planned.

Is it more understandable now?

Comment by Alexey Pustovalov [ 2023 Mar 20 ]

What item key for master item you use in LLD rule?

Comment by Alexey Pustovalov [ 2023 Mar 20 ]

I can not confirm that master item is not created on a host with the linked template:

Comment by Thiago Henrique Caetano Tamiozzo [ 2023 Mar 20 ]

Sorry for the delay, I slept yesterday.
The first Master Item that used whas "olthuawei"onureasoncount",{HOST.CONN},{$SNMP_COMMUNITY},{$SNMP_VERSION},{$SNMP_PORT},{#PONPORT}".. With this master item, the dependent item was not created.
Then I changed the master item for the item totalOnuOnline, which is not a prototype item and all the dependent items got created. After all the items had been created, I changed the master item to the first one again and the items remain created and now working with the right data.

I'll try to reproduce it again here.

Comment by Thiago Henrique Caetano Tamiozzo [ 2023 Mar 20 ]

I tried right now to reproduce the problem with a different host and creating a new template and it didn't happen... The items got created even if I choose as the master item a prototype item first.

I'll export this templated that I've created and try in another server to see if the problem occurs again.

Generated at Sun Apr 06 12:46:11 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.