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:
- Ensure you have a user with Read rights on all templates
- Ensure you have templates with dashboards defined
- Export all templates in any format
Some exported templates are missing a "dashboards" section while they do have one or more dashboard defined.
All template dashboards defined in Zabbix are also present in the export files.