解决zabbix仪表盘切换中文时有些字乱码问题
2020-02-22 本文已影响0人
胖虎喜欢小红
解决zabbix仪表盘切换成中文时有些字乱码:
首先在Windows下载一个字体(不能太花里胡哨,可能无法识别):

[root@192 ~]# rz
[root@192 ~]# ls
yaheiFont_CHS.zip
[root@192 ~]# unzip yaheiFont_CHS.zip
Archive: yaheiFont_CHS.zip
inflating: msyhbd.ttf
inflating: msyh.ttf
[root@192 ~]# ls
msyhbd.ttf
msyh.ttf
[root@192 ~]# ls /usr/share/zabbix/assets/fonts
graphfont.ttf
[root@192 ~]# rm -f /usr/share/zabbix/assets/fonts/graphfont.ttf
[root@192 ~]# mv ./msyhbd.ttf /usr/share/zabbix/assets/fonts/graphfont.ttf
[root@192 ~]# chmod 777 /usr/share/zabbix/assets/fonts/graphfont.ttf