Troubleshooting incorrect characters displaying in graphs (SUSE only)

This article helps troubleshoot why characters may display incorrectly in Graphs while using a SUSE OS.

LAST TESTED ON CHECKMK 2.2.0P1

Table of Contents


These actions are unsupported since the changes are to the OS, not the Checkmk software. This behavior was observed only on SUSE Linux Enterprise Server 15 (SLES15) with Service Pack 4.

Problem

You may encounter an issue where the characters in your Checkmk service graphs appear incorrect. This is caused by the default font pack that SLES15 SP4 uses. 

Screenshot of Checkmk graph containing unreadable high-bit characters.


Solution

To resolve this, you can execute the following commands either as a normal Linux user or as root: 

  1. Stop the site

    root@mylinuxhost# omd stop <mysite>

    .

  2. Change directory to /usr/share/

    root@mylinuxhost# cd /usr/share/

     .

  3. Create a backup of the original fonts file

    root@mylinuxhost:/usr/share# mv fonts fonts.bak

    . 

  4.  Install zypper

    root@mylinuxhost:/usr/share# zypper install -f google-opensans-fonts

    .

  5. Start the site

    root@mylinuxhost:/usr/share# omd start <mysite>

    .

After the Checkmk site has been restarted, the service graphs should display as expected. 

Screenshot of properly displayed characters within a Checkmk graph.