[ZBX-9540] "No item ID provided for screen element." when importing the screen with "Host time" clock Created: 2015 May 05  Updated: 2017 May 30  Resolved: 2015 Jun 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 2.0.14, 2.2.9, 2.4.5
Fix Version/s: 2.5.0

Type: Incident report Priority: Critical
Reporter: Alexander Vladishev Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: clock, xml
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: XML File PROBLEM_SCREEN.xml    

 Description   

An export file contains incorrect information about such screen element:

<screen_item>
    <resourcetype>7</resourcetype>
    <width>150</width>
    <height>150</height>
    <x>0</x>
    <y>1</y>
    <colspan>1</colspan>
    <rowspan>1</rowspan>
    <elements>0</elements>
    <valign>0</valign>
    <halign>0</halign>
    <style>2</style>
    <url/>
    <dynamic>0</dynamic>
    <sort_triggers>0</sort_triggers>
    <resource>23316</resource>
</screen_item>

<resource> tag should contain host name and item key:

<resource>
    <host>Zabbix server</host>
    <key>system.localtime[local]</key>
</resource>


 Comments   
Comment by Alexander Vladishev [ 2015 May 20 ]

Available in the development branch svn://svn.zabbix.com/branches/dev/ZBX-9540

Comment by Alexander Vladishev [ 2015 May 20 ]

(1) Export changelog

sasha RESOLVED

oleg.egorov CLOSED

Comment by Oleg Egorov (Inactive) [ 2015 Jun 04 ]

(2) Under this issue please fix Configuration->Screens page.
Now is not possible to change "Time type" for "Resource" Clock

oleg.egorov RESOLVED IN r53946

sasha CLOSED

Comment by Oleg Egorov (Inactive) [ 2015 Jun 04 ]

(3) No string changes

sasha CLOSED

Comment by Oleg Egorov (Inactive) [ 2015 Jun 05 ]

(4) Related issue
File: PROBLEM_SCREEN.xml
Zabbix server host is without selected item (web.test.in[web,1,bps])

And if re-save it:

Cannot update screen
Cannot set resource ID for screen element.

sasha RESOLVED in r53998.

oleg.egorov CLOSED

Comment by Oleg Egorov (Inactive) [ 2015 Jun 09 ]

TESTED

Comment by Alexander Vladishev [ 2015 Jun 09 ]

Available in pre-2.5.0 r54002.

Comment by Alexander Vladishev [ 2015 Jun 09 ]

(5) Documentation:

sasha RESOLVED

martins-v Reviewed. Rephrased a bit. If ok, can be closed.

sasha CLOSED

Generated at Wed May 08 23:10:31 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.