[ZBX-22963] Export of templates does not include template dashboards Created: 2023 Jun 14 Updated: 2023 Jun 22 |
|
Status: | Reopened |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A), Frontend (F) |
Affects Version/s: | 6.4.3 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Major |
Reporter: | Robin Roevens | Assignee: | Elina Kuzyutkina (Inactive) |
Resolution: | Unresolved | Votes: | 0 |
Labels: | API, Export, template | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
SUSE Linux Enterprise Server 15 SP4 - kernel 5.14.21-150400.24.63-default |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
||||||||
Issue Links: |
|
Description |
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. 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:
Result: Some exported templates are missing a "dashboards" section while they do have one or more dashboard defined. Expected: |
Comments |
Comment by Robin Roevens [ 2023 Jun 14 ] |
Add template export as returned by API call: { "jsonrpc": "2.0", "method": "configuration.export", "params": { "format": "json", "prettyprint": false, "options": { "templates": [ 14419 ] } }, "id": 1 } both as Read-only user and as SuperAdmin. Notice the dashboards section missing in the export as user. |
Comment by Elina Kuzyutkina (Inactive) [ 2023 Jun 19 ] |
Hi, Regards, Elina |
Comment by Robin Roevens [ 2023 Jun 19 ] |
Added requested screenshots of User permissions: User group permissions on template level , User Role permissions. |
Comment by Elina Kuzyutkina (Inactive) [ 2023 Jun 21 ] |
I am sorry, one more question: please share dashboards configuration window. I am interested in Sharing parameters Regards, Elina |
Comment by Robin Roevens [ 2023 Jun 21 ] |
Not sure what you mean? This is about dashboards included in templates (former screens) and in contrary to global dashboards, I don't find any sharing parameters for them ? For as far as I know I can't set dashboard specific permissions within a template ? And these are all settings I see for this one dashboard: Am I missing something ? And as you can see in template_export_as_user.json |