I have an LLD script that sends out data in the form
ITEM1 = dummy
ITEM2 = item2item
ITEM1 = dummy
ITEM2 = anotheritem
ITEM1 = dummy2
ITEM2 = thirditem
When I autocreate the prototype items for them, it works; if I have an item that only uses macro ITEM1 it's generating an error (because the prototype that is based on only ITEM1 already exists), but both ITEM2 entries are used to create other items. As long as these prototype items are of the type "Zabbix Agent".
However, when I use a dependent itemtype that should be unique and based on both ITEM1 and ITEM2, it only creates the first prototype item (of which ITEM2 is item2item), but doesn't create the second one (based on ITEM1=dummy and ITEM2=anotheritem). When I change the itemtype back to "zabbix agent" they are both created.
Is this intentional or some kind of bug I'm hitting? Tested in Zabbix 6.4 and 7.0
ITEM1 = dummy
ITEM2 = item2item
ITEM1 = dummy
ITEM2 = anotheritem
ITEM1 = dummy2
ITEM2 = thirditem
When I autocreate the prototype items for them, it works; if I have an item that only uses macro ITEM1 it's generating an error (because the prototype that is based on only ITEM1 already exists), but both ITEM2 entries are used to create other items. As long as these prototype items are of the type "Zabbix Agent".
However, when I use a dependent itemtype that should be unique and based on both ITEM1 and ITEM2, it only creates the first prototype item (of which ITEM2 is item2item), but doesn't create the second one (based on ITEM1=dummy and ITEM2=anotheritem). When I change the itemtype back to "zabbix agent" they are both created.
Is this intentional or some kind of bug I'm hitting? Tested in Zabbix 6.4 and 7.0