[ZBX-25212] Host Graphs with LLD items on "DataCollection->Hosts" view results with error 'Undefined array key "status" ...' Created: 2024 Sep 11  Updated: 2024 Oct 15  Resolved: 2024 Oct 14

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

Type: Problem report Priority: Trivial
Reporter: Vedad Assignee: Zabbix Development Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 5.5h
Original Estimate: Not Specified
Environment:

Operating System: Ubuntu 24.04 LTS
Kernel: Linux 6.8.0-41-generic
Architecture: x86-64
Zabbix Server: 7.0.0 LTS


Attachments: PNG File image-2024-09-11-09-39-59-606.png     PNG File image-2024-09-11-09-41-46-123.png    
Issue Links:
Causes
caused by ZBXNEXT-8918 Frontend changes to disable entities ... Closed
Duplicate
duplicates ZBX-24633 Uncaught TypeError: array_key_exists(... Closed
Team: Team B
Sprint: S24-W40/41, S24-W42/43
Story Points: 0.25

 Description   

Steps to reproduce:

  1. Navigate to "DataCollection/Hosts" view
  2. At hosts list select any of listed host (eg 'testhost.testdomain') and click on "Graphs" link
  3. Click on "Create Graph" button at top right position
  4. At graph creation form, give name for graph (eg 'test graph 01')
  5. At graph creation form, select graph type 'Normal'
  6. At graph creation form, select 2 keys that are result of Low Level Discovery (eg 'vfs.fs.dependent.size[/backup,pused]' and vfs.fs.dependent.size[/,pused])
  7. At graph creation form, click 'Add' to create graph 'test graph 01'

Result:

  1. Error appears at "DataCollection/Hosts/Graphs" for host that have this newly created graph: "Undefined array key "status" [graphs.php:750 → CView->getOutput() → include() in include/views/configuration.graph.list.php:237]"


This event is only logged at /var/log/nginx/error.log :

2024/09/11 09:40:39 [error] 1119#1119: *3653 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "status" in /usr/share/zabbix/include/views/configuration.graph.list.php on line 237" while reading response header from upstream, client: 192.168.214.201, server: perfmon7.ping.ba, request: "GET /graphs.php?filter_set=1&filter_hostids%5B0%5D=10637&context=host HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/zabbix.sock:", host: "perfmon7.ping.ba", referrer: "http://perfmon7.ping.ba/zabbix.php?action=host.list"

Expected:

No Error.



 Comments   
Comment by Vedad [ 2024 Sep 17 ]

We upgraded zabbix server and confirmed that this issue persists  on latest available version:
zabbix-agent                         1:7.0.3-1+ubuntu24.04 
zabbix-frontend-php                  1:7.0.3-1+ubuntu24.04 
zabbix-nginx-conf                    1:7.0.3-1+ubuntu24.04 
zabbix-release                       1:7.0-2+ubuntu24.04   
zabbix-server-mysql                  1:7.0.3-1+ubuntu24.04 
zabbix-sql-scripts                   1:7.0.3-1+ubuntu24.04 
 

 

 

 

Comment by Alexander Vladishev [ 2024 Sep 19 ]

Thank you for the report! We have reproduced the issue.

Comment by Eliza Sekace (Inactive) [ 2024 Oct 07 ]

Fixed in development branch feature/ZBX-25212-7.0

Comment by Alexander Vladishev [ 2024 Oct 14 ]

Will be fixed in scope of ZBX-24633. Please follow updates there.

Generated at Thu May 21 19:44:09 EEST 2026 using Jira 10.3.18#10030018-sha1:5642e4ad348b6c2a83ebdba689d04763a2393cab.