Ad Widget

Collapse

No text appears in the graphs after an upgrade.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nanogig
    Junior Member
    • Oct 2013
    • 2

    #1

    No text appears in the graphs after an upgrade.

    After upgrade zabbix (2.0.3 -> 2.0.8) no text appears in the graphs.



    uanme -a
    Linux Zabbix 3.10-3-686-pae #1 SMP Debian 3.10.11-1 (2013-09-10) i686 GNU/Linux



    But - "zabbix_server -V"
    Zabbix server v2.0.6 (revision 35158) (22 April 2013)

    Zabbix was upgraded command "aptitude upgrade".

    Where am I wrong?
    Thanks!
  • Pada
    Senior Member
    • Apr 2012
    • 236

    #2
    The path to the font must have changed somehow.

    Somewhere in one of the PHP configuration files there should be a path to the font, which is now incorrect. Fix that and then your text should show again.

    Comment

    • nanogig
      Junior Member
      • Oct 2013
      • 2

      #3
      Originally posted by Pada
      The path to the font must have changed somehow.

      Somewhere in one of the PHP configuration files there should be a path to the font, which is now incorrect. Fix that and then your text should show again.
      Thanks for the tip.
      The problem was a broken link to the font in the fonts directory. (DejaVuSans.ttf)
      ls -al ./fonts/DejaVuSans.ttf
      hidden ./fonts/DejaVuSans.ttf -> ../../fonts/truetype/ttf-dejavu/DejaVuSans.ttf
      The problem is solved.

      Comment

      • leicozit
        Junior Member
        • Nov 2013
        • 7

        #4
        Originally posted by nanogig
        Thanks for the tip.
        The problem was a broken link to the font in the fonts directory. (DejaVuSans.ttf)
        ls -al ./fonts/DejaVuSans.ttf
        hidden ./fonts/DejaVuSans.ttf -> ../../fonts/truetype/ttf-dejavu/DejaVuSans.ttf
        The problem is solved.
        Thank you. Really make a change. It has been
        cat zabbix/include/defines.inc.php | grep ZBX_FONT_NAME
        define('ZBX_FONT_NAME', 'DejaVuSans');
        It became
        cat zabbix/include/defines.inc.php | grep ZBX_FONT_NAME
        define('ZBX_FONT_NAME', 'graphfont');

        Comment

        Working...