[ZBX-16204] Undefined offset in CControllerWidgetProblemHostsView Created: 2019 Jun 03  Updated: 2024 Apr 10  Resolved: 2019 Jul 04

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 4.2.2
Fix Version/s: 4.0.11rc1, 4.2.5rc1, 4.4.0alpha1, 4.4 (plan)

Type: Problem report Priority: Major
Reporter: Marco Contreras Assignee: Roberts Lataria (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2019-06-03-09-35-38-593.png     PNG File zbx-16204-ab.png    
Team: Team D
Team: Team D
Sprint: Sprint 53 (Jun 2019), Sprint 54 (Jul 2019)
Story Points: 0.25

 Description   

Undefined offset: 13672 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemHostsView->doAction() in app/controllers/CControllerWidgetProblemHostsView.php:157]

Invalid argument supplied for foreach() [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemHostsView->doAction() in app/controllers/CControllerWidgetProblemHostsView.php:175]

 



 Comments   
Comment by Aigars Kadikis [ 2019 Jun 04 ]

Hello Marco,

Please tell us more about how this can be reproducible. Tell us more about your stage environment: what do you have configured and where to navigate to receive the message. Did this error come right after updating to 4.2.2? What was the previous version? 

Comment by Marco Contreras [ 2019 Jun 04 ]

the problem is generated in a trigger, this trigger compares the item "vfs.file.size()" value from two different hosts, the  server version was 4.0.6, then it was upgraded to 4.0.8 and the problem persisted. Finally it was upgraded to 4.2.2 and the error still persists.

Trigger:

{HOST:vfs.file.size["/home/reg/DP/NCR/DigitalPromotions/Promotion Files/DPFILE"].last()} <> {HOST - SERVER:vfs.file.size["/home/NCRServices/DP/PromotionFiles/DPFILE"].last()}}

Comment by Roberts Lataria (Inactive) [ 2019 Jul 01 ]

Fixed in:

Generated at Fri Apr 19 13:46:28 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.