Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-2310

Mapped values not working on "Latest data" page

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.3
    • 1.8.2
    • Frontend (F)
    • 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

        1. ValueMappings.jpg
          ValueMappings.jpg
          65 kB
        2. Zabbix1.8.1Debug.jpg
          Zabbix1.8.1Debug.jpg
          453 kB
        3. Zabbix1.8.1LastestData.jpg
          Zabbix1.8.1LastestData.jpg
          150 kB
        4. Zabbix1.8.2Debug.jpg
          Zabbix1.8.2Debug.jpg
          519 kB
        5. Zabbix1.8.2Lastest.jpg
          Zabbix1.8.2Lastest.jpg
          142 kB

            Unassigned Unassigned
            murilex Murilo Moreira de Oliveira
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: