问题现象:
解决方法:
1.修改的文件所在路径:
[root@ZABBIXSER01 include]# pwd
/usr/share/zabbix/include
需要修改的参数:
[root@ZABBIXSER01 include]#cat defines.inc.php |grep graphfont
define('ZBX_GRAPH_FONT_NAME', 'graphfont'); // font file name
define('ZBX_FONT_NAME', 'graphfont');
2.直接修改:
cp defines.inc.php defines.inc.php.bak
sed -i "s/graphfont/msyh/g" defines.inc.php
3.导出本地字体命名为msyh,然后导入到服务器 /usr/share/zabbix/fonts 目录
效果: