[ZBX-5786] Unable to import screens that contain simple graphs in 2.0.3 Created: 2012 Nov 01  Updated: 2017 May 30  Resolved: 2012 Nov 09

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.3
Fix Version/s: 2.0.4rc1, 2.1.0

Type: Incident report Priority: Major
Reporter: Jeff Shingara Assignee: Oleg Egorov (Inactive)
Resolution: Fixed Votes: 0
Labels: import, screens, simplegraphs, xml
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

LAMP


Attachments: XML File cormsappdevstg01_screens.xml     JPEG File uname_item.jpg    

 Description   

Import of screens is not working in 2.0.3 if the screen contains simple graphs
Default radio buttons checked for screens import: update existing and add missing (Many other combinations also failed)
Zabbix shows error of not being able to find items, even though they are stock items and are present.
Example error: Cannot find item "cormsappdevstg01:system.uname" used in screen "Sol cormsappdevstg01"
system.uname is a universal, stock item assigned to all hosts.

Attachment: cormsappdevstg01_screens.xml (template for import)
Attachment: uname_item.jpg Shows item configuration

Note that if you remove the item that returns the error, and do another import, the next (simple graph) item on the xml will cause a similar error.
If you remove ALL simple graph items from the xml, then the screen imports OK
This issue is being reported by other users in the forum: www.zabbix.com/forum/showthread.php?t=34645



 Comments   
Comment by Jeff Shingara [ 2012 Nov 01 ]

Issue also applies if "plain text" items are in the XML being imported

Comment by Oleg Egorov (Inactive) [ 2012 Nov 07 ]

FIXED IN svn://svn.zabbix.com/branches/dev/ZBX-5786 r31316

Comment by Alexey Fukalov [ 2012 Nov 09 ]

(1)
It should be fixed in another way.

$hostsRefs[$resource['host']] = $resource['host'];

Should be added to file CConfigurationImport.php after lines 394 and 422.

There all hosts names that need to be resolved in future are gathered and resolved in one go.

oleg.egorov RESOLVED in r31347

Vedmak CLOSED

Comment by Oleg Egorov (Inactive) [ 2012 Nov 09 ]

FIXED in 2.0.4 r31351, 2.1.0 r31352
CLOSED

Generated at Sat Apr 20 02:39:53 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.