[ZBX-7526] Undefined offset on maps with links and Host groups with Host group elements shown Created: 2013 Dec 12  Updated: 2017 May 30  Resolved: 2015 Jun 12

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.1
Fix Version/s: None

Type: Incident report Priority: Minor
Reporter: Karol Pucynski Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-7427 Error is shown if "Host group" object... Closed

 Description   

Hello

After upgrade from Zabbix 2.0.9 to 2.2.1 we have errors on our maps.

When we have on some linked elements and host group on maps, Undefined offset errors are shown:

Undefined offset: 100100000001013 [maps.php:148 ? CView->render() ? include() ? getActionMapBySysmap() ? populateFromMapAreas() in /usr/share/zabbix/include/maps.inc.php:2107]
Undefined offset: 100100000001013 [maps.php:148 ? CView->render() ? include() ? getActionMapBySysmap() ? populateFromMapAreas() in /usr/share/zabbix/include/maps.inc.php:2107]
Undefined offset: 100100000000993 [maps.php:148 ? CView->render() ? include() ? getActionMapBySysmap() ? populateFromMapAreas() in /usr/share/zabbix/include/maps.inc.php:2107]
Undefined offset: 100100000001026 [maps.php:148 ? CView->render() ? include() ? getActionMapBySysmap() ? populateFromMapAreas() in /usr/share/zabbix/include/maps.inc.php:2107]
Undefined offset: 100100000001013 [maps.php:148 ? CView->render() ? include() ? getActionMapBySysmap() ? populateFromMapAreas() in /usr/share/zabbix/include/maps.inc.php:2107]
Undefined offset: 100100000001013 [maps.php:148 ? CView->render() ? include() ? getActionMapBySysmap() ? populateFromMapAreas() in /usr/share/zabbix/include/maps.inc.php:2107]
Undefined offset: 100100000000993 [maps.php:148 ? CView->render() ? include() ? getActionMapBySysmap() ? populateFromMapAreas() in /usr/share/zabbix/include/maps.inc.php:2107]

When we have linked elements without any host group on map everything is ok.
When we don't have any linked elements and host group on map everything is also ok.

What can we do with this error?



 Comments   
Comment by richlv [ 2013 Dec 12 ]

worth noting that this probably is a dm/node setup

Comment by Karol Pucynski [ 2013 Dec 12 ]

Yes, Zabbix Server is in DM setup with node ID = 1. Yet on maps we have only local hosts/groups.

Comment by Marcelo Fernandes Cavalcante Neto [ 2013 Dec 16 ]

I am also having the same problem.
Have you managed to solve?

Comment by Karol Pucynski [ 2013 Dec 16 ]

The only workaround I found is to remove links from the map...

Comment by Erlon Pinheiro [ 2013 Dec 16 ]

I am also having the same problem.

Undefined index: 1166 [maps.php:148 → CView->render() → include() → getActionMapBySysmap() → populateFromMapAreas() in /var/www/zabbix/include/maps.inc.php:2107]
Undefined index: 1157 [maps.php:148 → CView->render() → include() → getActionMapBySysmap() → populateFromMapAreas() in /var/www/zabbix/include/maps.inc.php:2107]
Undefined index: 1157 [maps.php:148 → CView->render() → include() → getActionMapBySysmap() → populateFromMapAreas() in /var/www/zabbix/include/maps.inc.php:2107]

Comment by Marcelo Fernandes Cavalcante Neto [ 2013 Dec 17 ]

I found the resolution in another report. Already corrected in version 2.2.2rc1 r40821.
For more information:

ZBX-7427

Comment by richlv [ 2015 Jun 12 ]

closing as a duplicate of ZBX-7427

Generated at Thu Apr 25 12:30:14 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.