Ad Widget

Collapse

Mapped values don't working on "Latest data" page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Murilex
    Senior Member
    • Nov 2009
    • 124

    #1

    Mapped values don't working on "Latest data" page

    I have several mapped values configured in zabbix: host status (0->Error/1->OK), port status (0->Error/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 "OK (1)"). The notifications (e-mail and jabber) are working fine.
    There is a ticket in Russian opened on the tracker reporting this issue:


    I wonder, is there a patch anywhere to fix this issue before zabbix 1.8.3 release?
    Last edited by Murilex; 08-04-2010, 13:01.
  • Murilex
    Senior Member
    • Nov 2009
    • 124

    #2
    No patches or clues?

    Comment

    • alixen
      Senior Member
      • Apr 2006
      • 474

      #3
      Hi,

      Originally posted by Murilex
      No patches or clues?
      I am using 1.8.2 and mapped values are displayed correctly in latest data:
      Code:
      icmpping 	09 Apr 2010 14:36:42 	Up (1 )
      As I don't understand russian, I can't read the bug report you have found; however, I have checked with frontend in english and localized (french) : value maps are displayed correctly in both cases.

      regards,
      Alixen
      http://www.alixen.fr/zabbix.html

      Comment

      • Murilex
        Senior Member
        • Nov 2009
        • 124

        #4
        I can't understand Russian too. I've used google translator trying understand that post, but now I see that my problem is a little bit different from that.
        I very annoyed with this value mapping problem. After updating my zabbix version to 1.8.2, the only thing that I made was to update de 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:
        Code:
        SQL: SELECT newvalue FROM mappings WHERE valuemapid=10 AND [COLOR="Red"]value='0 '[/COLOR]
        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 French and mapping values did not work too.

        Comment

        • yerrysherry
          Junior Member
          • May 2010
          • 7

          #5
          Still a problem

          Hi,

          I have the same problem in version 1.8.2. I was following the examples in the book "zabbix 1.8 Network Monitoring" from Rihards Olups.

          Compiling on ubuntu:


          Part of the config.log file
          ----------------------------
          This file contains any messages produced by compilers while
          running configure, to aid debugging if configure makes a mistake.

          It was created by configure, which was
          generated by GNU Autoconf 2.61. Invocation command line was

          $ ./configure --prefix=/opt/zabbix --enable-server --enable-agent --with-pgsql --with-net-snmp --with-jabber --with-libcurl

          ## --------- ##
          ## Platform. ##
          ## --------- ##

          hostname = bigbrother
          uname -m = x86_64
          uname -r = 2.6.24-23-server
          uname -s = Linux
          uname -v = #1 SMP Wed Apr 1 22:14:30 UTC 2009

          /usr/bin/uname -p = unknown
          /bin/uname -X = unknown

          /bin/arch = unknown
          /usr/bin/arch -k = unknown
          /usr/convex/getsysinfo = unknown
          /usr/bin/hostinfo = unknown
          /bin/machine = unknown
          /usr/bin/oslevel = unknown
          /bin/universe = unknown

          PATH: /opt/postgres/postgresql-8.4.3/bin
          ....
          ----------------------

          When I select:

          Monitoring|Latest data

          I got:

          SSH server status 17 May 2010 23:37:06 1 - Graph
          Web server status 17 May 2010 23:37:05 1 - Graph

          I expected:

          SSH server status 17 May 2010 23:37:06 Up (1) - Graph
          Web server status 17 May 2010 23:37:05 Up (1) - Graph

          It's the same when I use Monitoring|Overview

          Changing to the 500 latest values, looks fine.

          2010.May.17 23:41:05 Up (1)
          2010.May.17 23:40:05 Up (1)
          2010.May.17 23:39:05 Up (1)
          2010.May.17 23:38:05 Up (1)

          Any idea?

          Comment

          • skullone
            Member
            • Mar 2007
            • 46

            #6
            I reported this bug a while ago under my support contract.
            It was recently fixed:

            Igor Danoshaites resolved SMR-3.
            --------------------------------

            Assignee: Brent Jones (was: Igor Danoshaites)
            Resolution: Fixed

            Fixed in the 1.8 branch, revision #12080

            Comment

            • eppie
              Junior Member
              • Jun 2009
              • 15

              #7
              I've the some problem with Zabbix 1.8.2 in english.

              Is there already a patch available for this? Or how can we solve it our selves?

              Comment

              Working...