ZABBIX BUGS AND ISSUES

Unable to import screens that contain simple graphs in 2.0.3

Details

  • Zabbix ID:
    RTF

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

Activity

Hide
Jeff Shingara added a comment -

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

Show
Jeff Shingara added a comment - Issue also applies if "plain text" items are in the XML being imported
Hide
Oleg Egorov added a comment -

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

Show
Oleg Egorov added a comment - FIXED IN svn://svn.zabbix.com/branches/dev/ZBX-5786 r31316
Hide
Alexey Fukalov added a comment - - edited

(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

Alexey Fukalov CLOSED

Show
Alexey Fukalov added a comment - - edited (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 Alexey Fukalov CLOSED
Hide
Oleg Egorov added a comment -

FIXED in 2.0.4 r31351, 2.1.0 r31352
CLOSED

Show
Oleg Egorov added a comment - FIXED in 2.0.4 r31351, 2.1.0 r31352 CLOSED

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: