[ZBX-20379] Dropdowns completely empty. Created: 2021 Dec 21 Updated: 2022 Jan 11 Resolved: 2022 Jan 11 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 5.0.18 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Andrea Biscuola | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
CentOS 8 x86_64 |
Attachments: |
![]() ![]() ![]() ![]() ![]() |
Description |
Steps to reproduce: In our installation, after migrating the databaes and all of the srvices to another instance, The databse is properly populated and, for example, the data for an item are there. The zabbix server, in fact, is monitoring everything properly, so it doesn't appear to be missing configurations. Result: {{| itemid | type | snmp_oid | hostid | name | key_ | delay | history | trends | status | value_type | trapper_hosts | units | formula | logtimefmt | templateid | valuemapid | params | ipmi_sensor | authtype | username | password | publickey | privatekey | flags | interfaceid | description | inventory_link | lifetime | evaltype | jmx_endpoint | master_itemid | timeout | url | query_fields | posts | status_codes | follow_redirects | post_type | http_proxy | headers | retrieve_mode | request_method | output_format | ssl_cert_file | ssl_key_file | ssl_key_password | verify_peer | verify_host | allow_traps | discover | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 88564 19 12164 Prometheus data minio.prometheus.stats 1m 0 0 0 4 88562 NULL 0 0 2188 0 30d 0 NULL 60s http:// {HOST.CONN} /minio/v2/metrics/cluster 200 1 0 Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJleHAiOjQ3NzY3MzkzOTQsImlzcyI6InByb21ldGhldXMiLCJzdWIiOiJob3N0aXQtbWluaW8tYWRtaW4ifQ.Tgf6d7js7edzZKqyN5oVtmXy3yWXF1fLRj5hLmbt7lrgGmf4JXpMl4ef6QdVIMSW5qsXJOZ2fwqGHhXnOk0SXw 0 0 0 0 0 0 0 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ }}
|
Comments |
Comment by Victor Breda Credidio [ 2021 Dec 21 ] |
Hey Andrea, Could you please send us the Debug for the Frontend so we could analyse it a little further? Administration > Users > (select your user) > Groups > (add user to group "Enabled debug mode"). After that, a button will apear in the bottom right part of your screen. Best regards, |
Comment by Andrea Biscuola [ 2021 Dec 21 ] |
Hi Victor. I added the item_create.txt file with the debug output from the "Create item" screen. I also added the corresponding screenshot as item.png. Best regards |
Comment by Andrea Biscuola [ 2021 Dec 21 ] |
Addendum. Just discovered that also the problems page seems to be broken. Attached the error that appears while trying to filter the list by a specific host. |
Comment by Victor Breda Credidio [ 2021 Dec 22 ] |
Andrea, I checked the logs you sent me, and it doesn't seem to be anything out of place.
Best regards, |
Comment by Andrea Biscuola [ 2021 Dec 29 ] |
Hi Victor. The migration path was: 1. Installed a new zabbix on a different VM, same major LTS (5.0). The zabbix database is running under MariaDB Ver 15.1 Distrib 10.3.28-MariaDB, for Linux (x86_64) using readline 5.1. To note: I can create items and other elements using the zabbix API. However, in one instance, adding an host with a As I previously said, the data appears to be there, as the monitoring itself is working fine. Maybe some problems with |
Comment by Victor Breda Credidio [ 2022 Jan 04 ] |
Hey Andrea, Could you please send what packages you have installed for both Zabbix and PHP? Please run the command below: rpm -qa | grep zabbix; rpm -qa | grep php Please also check the character set and collate version on Zabbix DB, and check the web-server logs for any errors. |
Comment by Andrea Biscuola [ 2022 Jan 04 ] |
Hi Victor. Installed zabbix and php packages are as follows: php-bcmath-7.2.24-1.module_el8.3.0+2010+7c76a223.x86_64 php-cli-7.2.24-1.module_el8.3.0+2010+7c76a223.x86_64 php-common-7.2.24-1.module_el8.3.0+2010+7c76a223.x86_64 php-fpm-7.2.24-1.module_el8.3.0+2010+7c76a223.x86_64 php-gd-7.2.24-1.module_el8.3.0+2010+7c76a223.x86_64 php-json-7.2.24-1.module_el8.3.0+2010+7c76a223.x86_64 php-ldap-7.2.24-1.module_el8.3.0+2010+7c76a223.x86_64 php-mbstring-7.2.24-1.module_el8.3.0+2010+7c76a223.x86_64 php-mysqlnd-7.2.24-1.module_el8.3.0+2010+7c76a223.x86_64 php-pdo-7.2.24-1.module_el8.3.0+2010+7c76a223.x86_64 php-pear-1.10.5-9.module_el8.3.0+2010+7c76a223.noarch php-process-7.2.24-1.module_el8.3.0+2010+7c76a223.x86_64 php-xml-7.2.24-1.module_el8.3.0+2010+7c76a223.x86_64 zabbix-agent-5.0.19-1.el8.x86_64 zabbix-apache-conf-5.0.19-1.el8.noarch zabbix-java-gateway-5.0.19-1.el8.x86_64 zabbix-release-5.0-1.el8.noarch zabbix-server-mysql-5.0.19-1.el8.x86_64 zabbix-web-5.0.19-1.el8.noarch zabbix-web-deps-5.0.19-1.el8.x86_64 zabbix-web-mysql-5.0.19-1.el8.noarch The database collation and character set are:
MariaDB [zabbix]> use zabbix;
Database changed
MariaDB [zabbix]> SELECT @@character_set_database, @@collation_database;
+--------------------------+----------------------+
| @@character_set_database | @@collation_database |
+--------------------------+----------------------+
| utf8 | utf8_bin |
+--------------------------+----------------------+
1 row in set (0.000 sec)
|
Comment by Andrea Biscuola [ 2022 Jan 04 ] |
About the web server logs, nothing to see there, there are no errors both in the apache error log |
Comment by Victor Breda Credidio [ 2022 Jan 05 ] |
Hey Andrea. Installed packages and database collation and charset seems to be alright. Could you please check your browser console for any error messages? If you see any error message, please send the content of it in .txt file, and a screenshot too. Also, just for check purposes, could you try to use Zabbix Web on a different machine/browser, and, if the problem persist, could you try installing the frontend in a different server? Regards, |
Comment by Andrea Biscuola [ 2022 Jan 10 ] |
Hi Victor. The same problems happens with other browsers, be those mobile or desktop. As you suggested, I ran |
Comment by Andrea Biscuola [ 2022 Jan 10 ] |
Next step, I'll try to install a new front-end on a different and clean virtual machine, to see if that helps. |
Comment by Andrea Biscuola [ 2022 Jan 11 ] |
Victor I spun-up a test VM, installing a front-end on it and pointing it to the existing database. Some php-fpm configuration? there is another application running on php-fpm in the |
Comment by Andrea Biscuola [ 2022 Jan 11 ] |
Ok, I found the problem. The zabbix front-end can be accessed from internet through a reverse-proxy, that we us for various Accessing the front-end directly from it's private address, doesn't present the problem. It's clear the Sorry to have wasted your time, I didn't thought about that possibility immediately. Regards |
Comment by Andrea Biscuola [ 2022 Jan 11 ] |
Final update, Victor. Cloudflare is to blame. Their proxy broke part of the zabbix front-end. We disabled it and everything went Regards |