-
Type:
Problem report
-
Resolution: Unresolved
-
Priority:
Major
-
None
-
Affects Version/s: 7.0.28
-
Component/s: Frontend (F)
-
Environment:Zabbix frontend: 7.0.28
Previous version: 7.0.24
OS: RHEL 8.9
Web server: Apache HTTP Server
PHP handler: PHP-FPM
PHP memory limit: 1G
The client has upgraded from Zabbix 7.0.24 to 7.0.28 the Monitoring -> Latest data page cannot be opened for some hosts.
The page remains blank with the constantly loading indicator. Other sections for the same hosts, including Items, Graphs and Dashboards, work normally.
The issue affects different host configurations:
- a host with Windows monitoring only;
- a host with Windows and MSSQL templates;
- a host containing more than 400 items.
Steps to reproduce:
- Open Monitoring -> Latest data;
- Select one of the affected host;
- Leave the item name filter empty;
- Press Apply.
Result:
The latest data page remains blank and the request returns HTTP 500 code.
Apache error log contains the following:
PHP Fatal error: Uncaught TypeError:
ngettext(): Argument #3 ($count) must be of type int, string given
in /usr/share/zabbix/include/gettextwrapper.inc.php:120
Stack trace:
#0 /usr/share/zabbix/include/gettextwrapper.inc.php(120): ngettext()
#1 /usr/share/zabbix/include/func.inc.php(405): _n()
#2 /usr/share/zabbix/include/func.inc.php(682): convertUnitsUptime()
#3 /usr/share/zabbix/include/items.inc.php(1158): convertUnitsRaw()
#4 /usr/share/zabbix/include/items.inc.php(1129): formatHistoryValueRaw()
#5 /usr/share/zabbix/app/partials/monitoring.latest.view.html.php(153): formatHistoryValue()
The corresponding access log entry is:
GET /zabbix.php?action=latest.view... HTTP/1.1" 500
Expected:
Latest data should dispaly all items for the selected host.
An individual item value should not cause the whole page to terminate with HTTP 500 code.
Additional information:
Changing PHP-FPM pool size and Apache timeout did not resolve the issue.
Zabbix server diagnostic information did not show history cache or value cache exhaustion.
Filtering the same hosts by the item name uptime displays the results successfully.
Shared by the client Windows and MSSQL templates have not been modified.
Attachments:
Latest data for host sv08956 remains blank when opened without an item name filter:

Filtering Latest data by uptime displays the values correctly for affected hosts sv03981, sv03982 and sv08956:

Latest data is displayed when the result set is limited, while opening the full unfiltered list for an affected host may result in a blank page:
