Ad Widget

Collapse

Graph values are not appearing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ahsan
    Junior Member
    • Nov 2012
    • 5

    #1

    Graph values are not appearing

    Hi

    I'm new to Zabbix and using version 2.0.3 and replacing current Nagios server with it. Its working great but having some issues with graphs.

    My graphs are working and show lines and bars but none of the graph is showing data values as well no labels on X and Y axis, just plain graph. I tried all the configuration settings and follow the guide but no joy. Example system load graph attached

    Any help would be much appreciated.

    Thanks.
    Attached Files
  • ahsan
    Junior Member
    • Nov 2012
    • 5

    #2
    Hi, Any of you have similar issue with version 2.0.3? Is it a bug or configuration issue? Please help as none of my graphs are showing values !!!

    Unable to find similar post on the forum so appoligies in advance if this has been reported in past.

    Comment

    • tchjts1
      Senior Member
      • May 2008
      • 1605

      #3
      I am using 2.0.3 and not having that issue. On the configuration for the graphs, there are checkboxes to hide the legend. Also checkboxes for the X and Y axis. Maybe you have these set by mistake.

      Is that a graph that you created? What do your graphs look like when you go to Monitoring --> Latest Data and click on a graph link (all the way to the right) for a single item?
      Last edited by tchjts1; 14-11-2012, 16:32.

      Comment

      • ahsan
        Junior Member
        • Nov 2012
        • 5

        #4
        HI Thanks for your reply.

        It is a strange issue.

        The option "Show Legend" is enabled and you can see on the graph that it shows colur icons representing graphs items but not showing labels and data.

        If I disable the "Show Legend" option I don't see these icons. Some sore of strange issue. Don't see any related errors in logs.

        Comment

        • ahsan
          Junior Member
          • Nov 2012
          • 5

          #5
          I managed to fix this issue.

          It seems that Zabbix was unanle to get the font source.

          Edited the
          [ZABBIX_WEB_ROOT]./include/defines.inc.php

          Default line: define('ZBX_FONTPATH', realpath('fonts')); // where to search for font (GD > 2.0.18


          Replaced it with:

          define('ZBX_FONTPATH', '/usr/share/fonts/truetype/ttf-dejavu/'); // where to search for font (GD > 2.0.18)

          Comment

          • Pada
            Senior Member
            • Apr 2012
            • 236

            #6
            I got this issue when copying my Zabbix install from say Fedora to Ubuntu, which was also causing the font being missing.

            Comment

            • Gregor
              Junior Member
              • Jun 2014
              • 1

              #7
              Sorry for posting in this old Thread. But for your interest.
              I'm using Zabbix on Ubuntu 12.04 with php-fpm.
              I had to add /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf also to open_basedir section in the php-fpm conf File.

              Comment

              Working...