-
Incident report
-
Resolution: Fixed
-
Major
-
1.8.2
-
None
-
CentOS 5.4 - PHP 5.3.2 (remi repository) - Zabbix 1.8.2 - PostgreSQL 8.4.2
I have several mapped values configured in zabbix: Windows Services Status (0->Running/1->Paused...), Port Status (0->Fail/1->OK...) etc. After upgrading zabbix 1.8.1 to 1.8.2, the "Latest data" page does not show values based on this mapping (like "Running (0)"). The notifications (e-mail and jabber) are working fine.
After updating my zabbix version to 1.8.2, the only thing that I've made was to update the php version too (5.3.2). I've enabled debug mode on the interface and a got a clue about the problem: for some reason, the sql queries used to map values on the interface contain one character "space" in value field that shouldn't exist. Take a look:
SQL: SELECT newvalue FROM mappings WHERE valuemapid=10 AND value='0 '
I've used the pgAdmin to examine the data on mapping table and the character that are in value field contain no spaces! This made me conclude that the "space" are present only on the frontend variables.
I've changed the interface to English and mapping values did not work too.
I've changed back only frontend to the version 1.8.1 on the same server (php 5.3.2) and the "Latest data" page works!
The results are the same using IE, Firefox, Chrome...
I think that some screenshots will help too. Take a look at them please.
PHP packages installed:
php-gd-5.3.2-1.el5.remi
php-pdo-5.3.2-1.el5.remi
php-5.3.2-1.el5.remi
php-bcmath-5.3.2-1.el5.remi
php-common-5.3.2-1.el5.remi
php-pgsql-5.3.2-1.el5.remi
php-ldap-5.3.2-1.el5.remi
php-cli-5.3.2-1.el5.remi
php-xml-5.3.2-1.el5.remi
php-mbstring-5.3.2-1.el5.remi