参考:https://blog.csdn.net/Callousmaster/article/details/99972089
- win查找字体,拷贝simsun.ttf文件到下面目录中
[root@prod-old fonts]# ll /usr/share/zabbix/assets/fonts
lrwxrwxrwx 1 root root 33 10月 10 2020 graphfont.ttf -> /etc/alternatives/zabbix-web-font
-rw-r--r-- 1 root root 18214472 3月 19 2019 simsun.ttf - 修改配置
[root@prod-old fonts]# grep 'simsun' /usr/share/zabbix/include/defines.inc.php
define('ZBX_GRAPH_FONT_NAME', 'simsun'); // font file name
define('ZBX_FONT_NAME', 'simsun');
3.重启服务
[root@prod-old fonts]# systemctl restart zabbix-server
网友评论