3 Host export

For Zabbix versions up to 1.8.3, host and template export is available at Configuration → Export/Import. Starting with 1.8.3, import and export controls are available on corresponding configuration pages (Configuration → Hosts and Configuration → Templates).

3.1 Since Zabbix 1.8.3

3.1.1 Step 1

Navigate either to Configuration → Hosts or Configuration → Templates, depending on which ones you want to export. Mark checkboxes next to elements to be exported.

3.1.2 Step 2

Make sure that Export selected is chosen in the activity dropdown below host or template list, then click Go and save the file.

3.2 Up to Zabbix 1.8.3

Step 1

Select elements for export

We selected host “Template_Linux” and all its items and triggers.

Press button “Preview” to see list of elements to be exported:

Step 2

Export data

Press button “Export” to export selected elements to a local XML file with default name zabbix_export.xml. The file has the following format (one element of each type is shown):

<?xml version="1.0"?>
<zabbix_export version="1.0" date="11.05.07" time="11.11">
		<host name="ZABBIX Server">
				<item type="0" key="" value_type="3">
					<description>Ping to the server (TCP)</description>
					<valuemap>Service state</valuemap>
					<description>Version of zabbix_agent(d) was changed on {HOSTNAME}</description>
				<graph name="CPU Loads" width="900" height="200">
						<graph_element item="{HOSTNAME}:system.cpu.load[,avg15]">
						<graph_element item="{HOSTNAME}:system.cpu.load[,avg1]">
						<graph_element item="{HOSTNAME}:system.cpu.load[,avg5]">