[ZBX-8275] clone web scenarios on host or template Created: 2013 Dec 11  Updated: 2017 May 30  Resolved: 2014 Aug 15

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 2.2.5
Fix Version/s: 2.2.6rc1, 2.3.4

Type: Incident report Priority: Critical
Reporter: Areg Vrtanesyan Assignee: Unassigned
Resolution: Fixed Votes: 5
Labels: cloning, webmonitoring
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Template Clone 001.PNG    
Issue Links:
Duplicate
is duplicated by ZBX-7678 Can not full clone host with a web sc... Closed
is duplicated by ZBX-8578 Cloning templates or copying triggers... Closed
is duplicated by ZBX-8602 Error in a full clone of the template Closed

 Description   

Hi

I am trying to clone the Template with the Web services configured in it and getting error:
"Incorrect item key "web.test.fail[HTTP Monitor]" provided for trigger expression on "Template HTTPD Web Services - test"."

Please see attached screenshot for details.

I can't export the template for reference as there is an another error - ZBX-7523

Regards,
Areg



 Comments   
Comment by richlv [ 2013 Dec 12 ]

similar to ZBX-3353 and ZBX-5090.

note that cloning of webscenarios is not supported by design currently ( https://www.zabbix.org/wiki/Docs/specs/ZBXNEXT-20 )

i couldn't find a feature request that would ask for this. we might move this request to feature requests as one.

Comment by Areg Vrtanesyan [ 2013 Dec 12 ]

In this case could you please move this one to the feature request?

Regards,
Areg

Comment by richlv [ 2014 Mar 03 ]

this seems to be silently implemented in trunk. will investigate

edit : or maybe not. might be some specific host/situation

Comment by Mickael Martin [ 2014 Mar 03 ]

Thank you richlv, actually the only way to clone a template which contain a webscenario is deleting the scenario first...
So the best way to escape this issue is not using scenario in template... (or make template with just scenario and you link it with your primary template)

Comment by Ivo Kurzemnieks [ 2014 Aug 12 ]

RESOLVED for trunk in svn://svn.zabbix.com/branches/dev/ZBX-8275

Comment by Ivo Kurzemnieks [ 2014 Aug 12 ]

(1) No translation string changes.

sasha CLOSED

Comment by Alexander Vladishev [ 2014 Aug 15 ]

(7) Documentation should be updated:

<richlv> also https://www.zabbix.com/documentation/2.2/manual/config/hosts/host ("Full clone will additionally retain directly attached entities...")

martins-v Documentation updates:

RESOLVED.

sasha CLOSED

Comment by Alexander Vladishev [ 2014 Aug 15 ]

Could you please add a short description on what was developed under the issue

Comment by Ivo Kurzemnieks [ 2014 Aug 15 ]

Now full cloning a host or template, web scenarios will also be cloned along with them.

Implemented in pre-2.2.6rc1 r48138 and pre-2.3.4 r48139

Generated at Sat Jun 28 06:04:27 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.