Nevo Nechushtan
Nevo Nechushtan

Reputation: 31

How can I export a Zabbix Dashboard?

I am trying to export my whole Zabbix configuration. I managed to export everything except the dashboard. I didn't find anything related to this in the Zabbix resources nor on the web. Is there any way I can do it ? Thank You.

Upvotes: 2

Views: 8591

Answers (2)

Vasile Radu
Vasile Radu

Reputation: 21

  1. Dump the dashboard related tables on the source Zabbix Instance:
mysqldump -p zabbix dashboard dashboard_user dashboard_usrgrp widget widget_field --single-transaction --no-create-info > dashboards.sql
  1. Import the data on the destination Zabbix server:
mysql -p zabbix < dashboards.sql

This was tested on Zabbix 5.0 and assumes your database name is zabbix. Replace the DB name with your custom DB name after -p in both commands above.

Upvotes: 2

slashpai
slashpai

Reputation: 1169

I believe we cannot export zabbix dashboard. The items that can be exported are listed here in zabbix documentation. If your purpose for export is for creating a new dashboard in same zabbix instance, you can clone existing dashboard

Upvotes: 1

Related Questions