Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Solve the random code of Chinese display box in zabbix4.0 web interface

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

The error screenshot is as follows

My zabbix-server here is installed using yum, and the character-related configuration file path is as follows

Don't say much, solve the problem directly, copy the Windows computer font file to the / usr/share/zabbix/assets/fonts path in advance.

Cd / usr/share/zabbix/assets/fontsll

Here we found that graphfont.ttf has been linked to other files, we do not need to manage, directly create a new soft link to the boldface file SIMHEI.TTF prepared in advance

Ln-snf SIMHEI.TTF graphfont.ttfll

Tips SIMHEI.TTF can write absolute path

Refresh the web page and display normally.

Other version solutions are attached.

The configuration files related to zabbix fonts are as follows

/ usr/share/zabbix/include/defines.inc.php/usr/share/zabbix/assets/fonts/etc/alternatives/zabbix-web-font

If you have solved everyone's problem, please feel free to click on it. Thank you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report