Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-22963

Export of templates does not include template dashboards

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 6.4.3
    • API (A), Frontend (F)
    • SUSE Linux Enterprise Server 15 SP4 - kernel 5.14.21-150400.24.63-default
      Zabbix 6.4.3 from official repo's
      PostgreSQL 15.1 + TimescaleDB 2.9.3
      Apache 2.4.51 + php-fpm 7.4.33

      I noticed, after upgrading from 6.2 to 6.4 that many templates we automatically export from zabbix using the api call configuration.export, no longer contain dashboards in the export files, while they still do have template dashboards defined within Zabbix.
      Some templates still do export their dashboards and I do not find why some don't export their dashboards while others still do.

      The export is normaly done with a read-only api user, but the problem remains exactly the same when using an admin api user. When I try the same with a super admin user, all dashboards seem to be included correctly in template exports.

      When an export is done manually using the Zabbix web interface the problem is the same.

      Steps to reproduce:

      1. Ensure you have a user with Read rights on all templates
      2. Ensure you have templates with dashboards defined
      3. Export all templates in any format

      Result:

      Some exported templates are missing a "dashboards" section while they do have one or more dashboard defined.

      Expected:
      All template dashboards defined in Zabbix are also present in the export files.

        1. apache_by_zabbix_agent_dashboard_properties.png
          48 kB
          Robin Roevens
        2. apache_by_zabbix_agent_dashboards_view.png
          23 kB
          Robin Roevens
        3. template_export_as_superadmin.json
          32 kB
          Robin Roevens
        4. template_export_as_user.json
          30 kB
          Robin Roevens
        5. Zabbix_User_Group_Template_permissions.png
          23 kB
          Robin Roevens
        6. Zabbix_User_permissions.png
          112 kB
          Robin Roevens
        7. Zabbix_User_Role_Permissions_pt1.png
          81 kB
          Robin Roevens
        8. Zabbix_User_Role_Permissions_pt2.png
          55 kB
          Robin Roevens
        9. Zabbix_User_Role_Permissions_pt3.png
          50 kB
          Robin Roevens

            elina.kuzyutkina Elina Kuzyutkina (Inactive)
            robinr Robin Roevens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: