[ZBX-15458] Undefined offset: 0 [ in report2.php:436] Created: 2019 Jan 16  Updated: 2019 Jan 18  Resolved: 2019 Jan 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F), Server (S)
Affects Version/s: 4.0.3
Fix Version/s: None

Type: Problem report Priority: Critical
Reporter: wangliqiang Assignee: Zabbix Development Team
Resolution: Duplicate Votes: 0
Labels: frontend, items, triggers
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

os:CentOS Linux release 7.6.1810


Attachments: PNG File 01.png     PNG File 02.png     PNG File 03.png     XML File zbx_export_templates.xml    
Issue Links:
Causes
caused by ZBX-14648 slow deletion of item in template lin... Closed
Duplicate
duplicates ZBX-15373 Problem persists after item was deleted Closed

 Description   

Steps to reproduce:

  1. change config, Administration->General->Regular expressions,add BITS in expression ^(MMCSS|BITS|gupdate|SysmonLog|clr_optimization_v2.0.50727_32|clr_optimization_v4.0.30319_32)$
  2. remove "BITS" service item  been auto discovered from hosts.

Result:
See screenshot attachment 1: Reports->Availability reports   the item data remains.

also See some error attachment 2:

Undefined offset: 0 [ in report2.php:436] 

when click in Reports->Availability report ->Service "BITS" (Background Intelligent Transfer...

a new error see screenshot  attachment 3:

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


 Comments   
Comment by wangliqiang [ 2019 Jan 17 ]

Environment:

OS: CentOS 7.6.1810 
Zabbix Server: 4.0.3 
DB:  5.6.42 MySQL Community Server (GPL)
Web: Apache 2.4.6, PHP 5.4.16

 

i removed "BITS" service item  been auto discovered from hosts,but in Reports->Availability reports   the item data remains there(See screenshot  attachment 1) . and get some errors :Undefined offset: 0 [ in report2.php:436]

Comment by Edgars Melveris [ 2019 Jan 18 ]

Hello wangliqiang

I was not able to reproduce the issue. As soon as the discovered item was removed, it was also not available on the availability report. Are there any more steps needed, to reproduce the issue?

Comment by Alexander Vladishev [ 2019 Jan 18 ]

This issue caused by ZBX-14648 and described in ZBX-15373. How to fix it you can see in our documentation.

Generated at Fri Mar 29 09:28:24 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.