-
Problem report
-
Resolution: Duplicate
-
Trivial
-
None
-
7.0.2
-
None
-
Operating System: Ubuntu 24.04 LTS
Kernel: Linux 6.8.0-41-generic
Architecture: x86-64
Zabbix Server: 7.0.0 LTS
-
S24-W40/41, S24-W42/43
-
0.25
Steps to reproduce:
- Navigate to "DataCollection/Hosts" view
- At hosts list select any of listed host (eg 'testhost.testdomain') and click on "Graphs" link
- Click on "Create Graph" button at top right position
- At graph creation form, give name for graph (eg 'test graph 01')
- At graph creation form, select graph type 'Normal'
- 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])
- At graph creation form, click 'Add' to create graph 'test graph 01'
Result:
- 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.
- caused by
-
ZBXNEXT-8918 Frontend changes to disable entities marked for deletion by LLD
- Closed
- duplicates
-
ZBX-24633 Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /usr/share/zabbix/graphs.php:722
- Closed