Ad Widget

Collapse

Zabbix 6.2.1 - missing graph labels in latest data graphs

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • gerald23
    Junior Member
    • Aug 2022
    • 4

    #1

    Zabbix 6.2.1 - missing graph labels in latest data graphs

    Hi
    I'm new to zabbix and just installed 6.2.1 on a new centos 9 stream using mariadb , following the instructions at https://www.zabbix.com/de/download?z...ysql&ws=apache
    The installation was painless. After adding some hosts (i really like the autoregistration feature) collecting some data, I noticed all the graph labels seem to be missing when opening a graph from any hosts "latest data" view. On the dashboard (right on the screenshot) this does not happen:

    Click image for larger version

Name:	2022-08-10 14_21_56-sabbix_ History [refreshed every 30 sec.].png
Views:	2231
Size:	175.5 KB
ID:	449584


    Am I missing some fonts as some old threads suggest? Does the command
    Code:
    dnf install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-sql-scripts zabbix-selinux-policy zabbix-agent
    not install all required components?

    Server and agent log are not showing any errors or warnings, neither does the browser console. I tried chrome, firefox and edge browsers all with the same result.


    Thanks in advance
  • Answer selected by tim.mooney at 02-05-2023, 20:21.
    MichaelR
    Junior Member
    • Mar 2023
    • 3

    I had the same problem after upgrading to Rocky Linux 9.
    It turned out that /usr/share/zabbix/assets/fonts/graphfont.ttf was a link to an invalid location, because RL moved the TTF files around.
    Code:
    ln -sf /usr/share/fonts/dejavu-sans-fonts/DejaVuSans.ttf /etc/alternatives/zabbix-web-font
    fixed it.

    Comment

    • robsongp5
      Junior Member
      • May 2019
      • 1

      #2

      Hello, i'm having the same problem. I installed Zabbix 6.2.1 on Oracle Linux 9 and Nginx. I updated all packages and My graphics also don't display the labels.

      Comment

      • tim.mooney
        Senior Member
        • Dec 2012
        • 1427

        #3
        This isn't a Zabbix server (or agent) issue, it's a front-end issue. You want to check both your web server logs and (assuming you have them enabled) the PHP-FPM logs, to see if either of them have obvious clues to the problem.

        Make sure you have all the PHP extensions loaded that are listed as required on the "Frontend" installation requirements page: https://www.zabbix.com/documentation...n/requirements.

        Make sure you're not missing 'php-gd', 'php-bcmath', or 'php-mbstring'.

        RHEL/CentOS 9 are pretty new, so it could also be a font package or name change, but I would think that "fontconfig" would have the necessary aliases in place. Not many people here are hosting their server environment on RHEL 9 yet, so you're kind of on the bleeding edge.

        Comment

        • gerald23
          Junior Member
          • Aug 2022
          • 4

          #4
          Thanks for the quick response, I moved to alma linux 8 and there the labels are shown as expected. I'm staying with rhel 8 for now.

          Comment

          • MichaelR
            Junior Member
            • Mar 2023
            • 3

            #5
            I had the same problem after upgrading to Rocky Linux 9.
            It turned out that /usr/share/zabbix/assets/fonts/graphfont.ttf was a link to an invalid location, because RL moved the TTF files around.
            Code:
            ln -sf /usr/share/fonts/dejavu-sans-fonts/DejaVuSans.ttf /etc/alternatives/zabbix-web-font
            fixed it.

            Comment

            • Skydrex
              Junior Member
              • Apr 2023
              • 2

              #6
              Originally posted by MichaelR
              I had the same problem after upgrading to Rocky Linux 9.
              It turned out that /usr/share/zabbix/assets/fonts/graphfont.ttf was a link to an invalid location, because RL moved the TTF files around.
              Code:
              ln -sf /usr/share/fonts/dejavu-sans-fonts/DejaVuSans.ttf /etc/alternatives/zabbix-web-font
              fixed it.
              Dude, you are a lifesaver! I registered aspecially to thank you
              Thanks so much! Worked like a charm

              Comment

              • David Ruhamiriza
                Junior Member
                • Oct 2023
                • 2

                #7
                I am having the same issue I tried

                ln -sf /usr/share/fonts/dejavu-sans-fonts/DejaVuSans.ttf /etc/alternatives/zabbix-web-font but it did not work anyone to advise

                Comment

                • David Ruhamiriza
                  Junior Member
                  • Oct 2023
                  • 2

                  #8
                  Click image for larger version

Name:	image.png
Views:	1018
Size:	26.1 KB
ID:	473157
                  Below is the screenshot issue is still persisting ​

                  Comment

                  Working...