Hello
I've created two custom templates.
Each templates consist of 1 LLD rule which includes 1 item prototype and 3 trigger prototypes.
The templates are pretty the same. Main difference is a name of a macro variable in a script of LLD rules (type: script).
All names (of LLD rules and item\trigger prototypes), LLD keys and trigger prototypes' expressions are different of course too.
If I link just one of my templates (not matter which one) to hosts it works well (items and trigger are created).
But I need to link both my templates to some my hosts.
In these cases I notice strange (for me) state of linked to host discovery rules.
Trigger prototypes from different templates attached into one discovery rule, but in the same time, item prototypes are in their "parent" discovery rules.
Screenshot: https://prnt.sc/FfmpHQ_jtA2M
As result items are created (from both templates), but triggers aren't created (for the items from the second templates\discovery rule).
I've tried to create third template and link first and second templates to it.
Situation is the same - all trigger prototypes are in the same discovery rule.
Screenshot: https://prnt.sc/w2WCfUEjncLm
Could anybody explain this behavior on zabbix and help me to solve this issue please?
Thanks.
I use Zabbix 6.0.5
I've created two custom templates.
Each templates consist of 1 LLD rule which includes 1 item prototype and 3 trigger prototypes.
The templates are pretty the same. Main difference is a name of a macro variable in a script of LLD rules (type: script).
All names (of LLD rules and item\trigger prototypes), LLD keys and trigger prototypes' expressions are different of course too.
If I link just one of my templates (not matter which one) to hosts it works well (items and trigger are created).
But I need to link both my templates to some my hosts.
In these cases I notice strange (for me) state of linked to host discovery rules.
Trigger prototypes from different templates attached into one discovery rule, but in the same time, item prototypes are in their "parent" discovery rules.
Screenshot: https://prnt.sc/FfmpHQ_jtA2M
As result items are created (from both templates), but triggers aren't created (for the items from the second templates\discovery rule).
I've tried to create third template and link first and second templates to it.
Situation is the same - all trigger prototypes are in the same discovery rule.
Screenshot: https://prnt.sc/w2WCfUEjncLm
Could anybody explain this behavior on zabbix and help me to solve this issue please?
Thanks.
I use Zabbix 6.0.5