[ZBX-4759] Link multiple host to template don't work. Link single host to template is working Created: 2012 Mar 14  Updated: 2017 May 30  Resolved: 2012 Mar 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.0rc1
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Coudy Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: dependencies, templates
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File debug.log    

 Description   

I can link 1 host to template without problem, but multiple hosts (2 and more) don't work.
I see this error:
[CTemplate.update -> CTemplate.massUpdate -> CTemplate.massAdd -> CTemplate.link]

I'm attaching debug.log



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 14 ]

Hi, Coudy.

I can't reproduce the issue you've described. Could you please post the full text of the error message you receive? Does it depend only on the number of hosts you're trying to link, or maybe some specific host is failing?

Comment by Coudy [ 2012 Mar 14 ]

Hi, I'm so sorry, Now I realized my mistake.
When trigger in template depend on host, I can add multiple hosts.
When trigger in template depend on another trigger in template, I can't add any host.

And the full error message is:
Trigger in template [ template_Server ] has dependency with trigger in template [ template_Router ] [CTemplate.update -> CTemplate.massUpdate -> CTemplate.massAdd -> CTemplate.link]

Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 14 ]

Indeed, a templated trigger can only be dependent on a trigger from a different template if both of the templates are linked to all hosts.

CLOSED.

Comment by Oleksii Zagorskyi [ 2012 Mar 16 ]

I believe more appropriate resolution is Cannot reproduce

Comment by Oleksii Zagorskyi [ 2012 Mar 16 ]

Changed

Generated at Sat Apr 19 06:50:52 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.