[ZBX-512] Hosts do not inherit trigger dependencies from template during host creation Created: 2008 Sep 30  Updated: 2017 May 30  Resolved: 2011 Feb 03

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F), Server (S)
Affects Version/s: 1.6
Fix Version/s: 1.8.5

Type: Incident report Priority: Minor
Reporter: Mark Brochu Assignee: Unassigned
Resolution: Fixed Votes: 5
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux (2.6 Kernel)


Attachments: PNG File Picture 36.png    

 Description   

Consider the following scenario:

1. Create a template called "template_generic_host", and create an item "item_a", along with two triggers, "trigger_item_a_warning on

{HOSTNAME}", and "trigger_item_a_critical on {HOSTNAME}

". Create a dependency on "trigger_item_a_warning on

{HOSTNAME} which points to "trigger_item_a_critical {HOSTNAME}

.

2. Create a host called "host_a" and link it to "template_generic_host". Notice that the dependency on trigger "trigger_item_a_warning" will read "Depends on: trigger_item_a_critical template_generic_host" when it should read "Depends on trigger_item_a_critical host_a".

Workaround:

Open the trigger on "template_generic_host" and click "save". The dependency on host_a will be corrected.



 Comments   
Comment by Rick [ 2009 Mar 25 ]

Seems I have found the same issue. Has something todo with creation order or triggers. See screenshot I attached. When an trigger is created with an dependency on a trigger which is not yet created it will link the dependency to the template

Comment by Rick [ 2009 Mar 25 ]

Screenshot for comment

Comment by Alexey Fukalov [ 2011 Feb 03 ]

cannot reproduce in pre1.8.5. seems to be fixed

Generated at Sun Apr 06 00:06:30 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.