Broken font rendering in service availability timeline

faq
troubleshooting

#1

Problem

In the Web UI on the node details page the availability time line is rendered with broken fonts shown as in the screenshot below:

availability%20graph%20font-issues

Diagnosis

Check on your system if you have correct font packages installed with

RHEL/CentOS:

yum list installed dejavu-fonts-common dejavu-fonts-common dejavu-sans-mono-fonts

Ubuntu:

apt list --installed | grep -i fonts-dejavu-core

old Debian/Ubuntu:

dpkg --get-selections | grep fonts-dejavu-core

Solution

Install on RHEL/CentOS:

yum install dejavu-fonts-common dejavu-sans-fonts dejavu-sans-mono-fonts

Install on Debian/Ubuntu

apt-get install fonts-dejavu-core

Restart OpenNMS after installing the packages with

systemctl restart opennms