[ZBXNEXT-178] Support XML import/export of Web checks Created: 2009 Dec 15  Updated: 2016 Dec 08  Resolved: 2016 Oct 04

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: API (A), Frontend (F)
Affects Version/s: None
Fix Version/s: 3.2.0alpha1

Type: New Feature Request Priority: Major
Reporter: Brett Lentz Assignee: Unassigned
Resolution: Fixed Votes: 52
Labels: webmonitoring, xml
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBXNEXT-678 XML export for WEB scenarios Closed
is duplicated by ZBXNEXT-2204 Import/export (XML) of web scenarios ... Closed
is duplicated by ZBX-7523 Zabbix template Export does not expor... Closed
is duplicated by ZBX-9086 Web scenario's and triggers missing f... Closed
is duplicated by ZBX-8026 Web scenarios and appropriate trigger... Closed
is duplicated by ZBX-6991 Export process - Missing Web itens Closed

 Description   

When migrating between a test/dev environment and a production environment, it would be nice to be able to make a web check template and/or import/export web checks so that they can transfer easily between zabbix nodes.

Currently, all web checks must be hand-crafted and are unique to the zabbix node. This makes it extremely painful when moving between nodes or when services move between sites.



 Comments   
Comment by richlv [ 2012 Jan 05 ]

templating is a dupe of ZBXNEXT-20

Comment by Oleksii Zagorskyi [ 2013 Apr 22 ]

Web scenarios can be templated or located at host level in future 2.2 but they still not included to XML host export (checked on trunk rev 35135).

Comment by Areg Vrtanesyan [ 2013 Dec 12 ]

It is already version 2.2.1 available and Web Scenarios are moved to the templates.
So it is time to support export too.

Comment by Lior Goikhburg [ 2015 Apr 09 ]

Gonna bump this issue.
The web scenarios were made templateable about two years ago, still they cannot be exported together with a template.

Comment by Matthew Sims [ 2015 Jun 24 ]

You've got to be kidding me that this is still an issue.

Please fix!

Comment by Marc [ 2015 Jun 25 ]

msims, just in case you're not already aware of it, there is always the option of (co-)sponsoring development of a ZBXNEXT.

Comment by Alexander Vladishev [ 2016 May 05 ]

Available in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-178

Comment by Lorenzo Cubero [ 2016 May 05 ]

Really appreciated, many thanks.

Comment by Ivo Kurzemnieks [ 2016 May 11 ]

(1) Translation strings?

Strings added:

  • Web scenario "%1$s" on "%2$s": application "%3$s" does not exist.

sasha RESOLVED

iivs CLOSED

Comment by Ivo Kurzemnieks [ 2016 May 11 ]

(2) Exporting hosts with proxies, now they also export additional sub tags <hostid> and <host>. Thus hosts cannot be imported back.

sasha RESOLVED in r60153

iivs CLOSED

Comment by Ivo Kurzemnieks [ 2016 May 11 ]

(3) Unchecking applications checkbox and importing web scenarios with applications results in error:

Undefined variable: application [conf.import.php:176 → CFrontendApiWrapper->import() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processHttpTests() in include\classes\import\CConfigurationImport.php:1219]
Web scenario "TS-178-1-01" on "T-178-1": application "" does not exist. [conf.import.php:176 → CFrontendApiWrapper->import() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processHttpTests() in include\classes\import\CConfigurationImport.php:127]

sasha RESOLVED in r60159

iivs CLOSED

Comment by Ivo Kurzemnieks [ 2016 May 12 ]

(4) Please see minor code refactoring in r60078

sasha CLOSED

Comment by Ivo Kurzemnieks [ 2016 May 18 ]

TESTED

Comment by Alexander Vladishev [ 2016 May 18 ]

Available in pre-3.1.0 (trunk) r60183

Comment by Martins Valkovskis [ 2016 Sep 30 ]

(5) Updated documentation:

iivs Updated:

sasha CLOSED

Comment by Martins Valkovskis [ 2016 Sep 30 ]

(6) API documentation needs to be updated:

iivs RESOLVED

sasha Thanks! CLOSED

Comment by Marco Rodrigues [ 2016 Oct 04 ]

Thanks

Comment by David [ 2016 Nov 13 ]

Triggers based on web scenario items appear to still not be exported from the Zabbix GUI.

Comment by Alexander Vladishev [ 2016 Nov 15 ]

ke_sheng_jie, export of triggers and graphs based on web scenario items has been fixed in ZBX-11357.

Comment by David [ 2016 Dec 07 ]

Great! Thank you.

Generated at Fri Apr 26 01:35:40 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.