Ad Widget

Collapse

5.4 - Dashboards - how do I export / import them

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dave
    Junior Member
    • Jul 2006
    • 6

    #1

    5.4 - Dashboards - how do I export / import them


    In 5.4 screens have been done away with in favor of Dashboards.

    The Dashboards are greats, however I can't seem to figure out how to export them like I could export Screens.

    What we did in the past if we were add new servers, we could export a screen, change the host to the name of the new server and then import and it would create a whole new screen with all the graphs for that host.
    This was a very quick and simply way for us to duplicate screens for new hosts.

    How do I achieve the same with Dashboards now? If these dashboards cannot be exported and imported, then I think the removal of screens is one step backward as it has taken away functionality.

    Anyone know how to export / import dashboards like we did with screens?



    EDIT:
    I see now that I can clone a dashboard, is there any macro for the "dashboard name" that I could use in the data set host pattern of the graphs, that if I name the dashboard as the monitored servers hostname, it would dynamically use that in the data set host pattern of the graphs?
    Last edited by Dave; 28-05-2021, 11:38.
  • Sampo
    Junior Member
    • Mar 2022
    • 1

    #2
    I have exactly the same question. How could I manage the dashboard in configuration file/.xml just like the import/export the screens?
    Is there any way to do it? To make a clone of an existing Dashboard is possible but modifying the new Dashboard will be a pure manual work.
    I faced this in Zabbix Appliance because I couldn't find the screens I use in normal Zabbix server instance.
    All good ideas are welcome.
    Thank you!

    Comment

    • Jhoanor
      Junior Member
      • May 2022
      • 4

      #3
      I found I can make an export like this:
      # mysqldump -p zabbix dashboard dashboard_page dashboard_user dashboard_usrgrp widget widget_field --single-transaction --no-create-info --insert-ignore > dashboards.sql
      And to import again:
      # mysql -p zabbix < dashboards.sql
      Don't use this 'blind'. Check carefully if it does want you want.

      Comment

      • ceinmart
        Junior Member
        • Nov 2012
        • 28

        #4
        vote on this feature requesto to add this resource: https://support.zabbix.com/browse/ZBXNEXT-5419

        Comment

        Working...