Ad Widget

Collapse

Zabbix 4.2 - Graphs not showing time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Stefan07-07
    Junior Member
    • Jun 2019
    • 4

    #1

    Zabbix 4.2 - Graphs not showing time

    Hi Guys,

    I hope someone has come across this issue or can provide me with some guidance.
    I setup a new Zabbix 4.2 server on Ubuntu 16.04

    Initially the graphs didn't display any legend text - I fixed this by changing the font path as per below:

    nano /usr/share/zabbix/include/defines.inc.php

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


    Now however it still doesn't show the time on the legend only the date and data - please see attached

    Please let me know if someone has any ideas.

    Click image for larger version

Name:	no time.png
Views:	614
Size:	142.8 KB
ID:	380299

    Thanks,
  • Stefan07-07
    Junior Member
    • Jun 2019
    • 4

    #2
    Any ideas guys? I'm still looking, no luck yet.

    Comment

    • lagavazzz
      Junior Member
      • Apr 2019
      • 21

      #3
      Hello,

      This issue was fixed in 4.0.9 and 4.2.3, so you might wanna try updating if it is possible.

      But if not, there are quite some solutions available in the issue thread: https://support.zabbix.com/browse/ZBX-16182

      Comment

      • Stefan07-07
        Junior Member
        • Jun 2019
        • 4

        #4
        Not sure why, but I changed the font path back to 'assets/fonts' with CHMOD 777 for the directory and sorted.

        Comment

        • dbaeza
          Junior Member
          • Jun 2019
          • 5

          #5
          Hello, my friends, in the last days I installed zabbix 4.2.3 in ubuntu 18.04 LTS in the environment Plesk Onyx 17.8.11, the installation is not a problem, in fact it was easy and fast. I followed these steps https://www.zabbix.com/download?zabb...ionic&db=mysql so the installation is fine, but when I try to monitor my hosts, I had some problems for example:

          The graphics do not show the legends.

          The time of my user interface is different from that of my operating system (ubuntu-zabbix-server). I set the php value in /etc/conf.d/zabbix.conf as zabbix installation documentation and yours, but the problem continues (Europe time, I think)

          ... previous actions ...

          uninstall and reinstall all zabbix packages on the same server and on a different server, both in the plesk environment (ubuntu / centos) with zabbix versions 4.0 and 4.2 (with the latest notes of version 4.0.9 and 4.2. 3)

          I followed these steps from the zabbix support without success



          If you have any ideas about my problems, please let me know, I have 2 days with this

          I'm sorry with my English

          regards

          Comment

          • dbaeza
            Junior Member
            • Jun 2019
            • 5

            #6
            To complete my information
            Attached Files

            Comment

            Working...