Home > System Tutorial > LINUX > body text

Solve the problem of garbled display of graphs and charts on Zabbix Chinese monitoring server

WBOY
Release: 2024-07-31 14:10:17
Original
344 people have browsed it

Solve the problem of garbled display of graphs and charts on Zabbix Chinese monitoring server

Zabbix’s support for Chinese is not very good, but sometimes we still choose Chinese for management purposes. In the web interface monitored by zabbix, the Chinese under the graphic icon will display small squares. This is incorrect and requires downloading fonts. . For example, "Microsoft Yahei", "Microsoft Yahei.ttf" is named "msyh.ttf", and upload the downloaded font to /zabbix/fonts/fonts

Modify two places in the /zabbix/include/defines.inc.php file

define('ZBX_GRAPH_FONT_NAME', 'DejaVuSans');
define('ZBX_FONT_NAME', 'DejaVuSans');
改
define('ZBX_GRAPH_FONT_NAME', 'msyh');
define('ZBX_FONT_NAME', 'msyh');
Copy after login

Finally restart the web server.

The above is the detailed content of Solve the problem of garbled display of graphs and charts on Zabbix Chinese monitoring server. For more information, please follow other related articles on the PHP Chinese website!

source:linuxprobe.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template