-
Incident report
-
Resolution: Won't fix
-
Trivial
-
None
-
7.0.5, 7.0.6
-
Zabbix Version: 7.0.2 > 7.0.6
PHP 8.2.26
nginx version: nginx/1.27.0
Debian 12
Steps to reproduce:
- Update Zabbix server from 6.x to 7.0.2
- Apply the Redis monitoring template.
- Navigate to "Latest Data" and select any item from the Redis template.
- Attempt to create a graph using the data.
- The error appears.
Result:
We are encountering an issue after upgrading Zabbix to 7.0.2. The problem was noticed only after applying the Redis monitoring template to the updated version.
Graph creation fails with the error
Incorrect value for field "delay": invalid delay
Nginx server logs show the following error:
2024/12/03 11:43:37 [error] 2880636#2880636: *121309647 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "file" in /usr/share/zabbix/include/classes/debug/CProfiler.php on line 374; PHP message: PHP Warning: Undefined array key "line" in /usr/share/zabbix/include/classes/debug/CProfiler.php on line 374; PHP message: PHP Warning: Cannot modify header information - headers already sent in /usr/share/zabbix/include/classes/helpers/CCookieHelper.php on line 54; PHP message: PHP Warning: PHP Request Shutdown: Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/sessions, handler: update_timestamp) in Unknown on line 0" while reading upstream, client: 10.18.140.130, server: zabbix.info, request: "GET /chart.php?from=now-1h&to=now&itemids%5B0%5D=903506&type=0&resolve_mac ros=1&profileIdx=web.item.graph.filter&profileIdx2 =903506&width=1734&height=200&_=wxx0rwj3 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.2-fpm.sock:", host: "zabbix.info", referrer: "https://zabbix.info/history.php?itemids%5B0%5D=903506&action=showgraph"
Additional Context:
- Zabbix version upgrade history:
- Original version: 5.x
- Upgraded to 6.x, then to 7.0.2, and finally to 7.0.6.
- The issue persists after upgrading to version 7.0.6.
- Testing various versions of the Redis template did not resolve the problem.
- Creating a fresh Zabbix server instance resolves the issue, and graphs from the Redis template render correctly.
Expected Behavior: Graphs should render correctly based on data collected from the Redis monitoring template.
Other Notes:
- Other templates, such as "Linux by Zabbix Agent 2," are unaffected and render graphs without issues.
- This indicates the problem may be specific to the Redis template in conjunction with our upgraded Zabbix environment.
Attached are screenshots and relevant logs for your reference.
Expected:
See screenshots