分类
故障描述
无
故障分析
无
处理过程
1、安装中文支持
dnf install langpacks-zh_CN.noarch
2、配置连接字体
ln -fs /usr/share/fonts/google-noto-cjk/NotoSansCJK-DemiLight.ttc /etc/alternatives/zabbix-web-font
建议/总结
图表乱码如下方法:
1、上传msyh.ttc到服务器,位于c:\windows\fonts\目录下。
2、登陆Zabbix服务
cd /usr/share/zabbix/assets/fonts/
#备份原有图形字体
mv graphfont.ttf graphfont.ttf-b
#用微软黑雅字体。
cp /home/omuser/msyh.ttc graphfont.ttf
3、Zabbix 7.2
yum install -y fontconfig langpacks-zh_CN.noarch
yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm
yum install google-roboto-fonts
#
ln -fs /usr/share/fonts/google-noto-cjk/NotoSansCJK-DemiLight.ttc /etc/alternatives/zabbix-web-font
#7.2 字体名zabbix-web-font变成zabbix-web-ui-font
ln -fs /usr/share/fonts/google-noto-cjk/NotoSansCJK-DemiLight.ttc /etc/alternatives/zabbix-web-ui-font