When zabbix is configured for plotting, it is found that Chinese characters cannot be normally displayed and garbled characters as shown in: This is because zabbix's web end does not have a Chinese character Library. we can add the Chinese character Library to solve this problem. 1. select a font from the control panel under windows-& gt; font-& gt; for example, new 2 2... "/> <scripttype =" text/javascript "sr when zabbix is configured for plotting, it is found that Chinese characters cannot be properly displayed, as shown in the following garbled code:
This is because zabbix's web end does not have a Chinese font. we can add the Chinese font to solve this problem.
1. choose "control panel"> "font"> "font" under windows, for example, "New"
2. copy it to the fonts directory of the zabbix web end, for example,/home/wwwroot/default/fonts, and change the suffix of TTF to ttf.
3. modify zabbix's web terminal/include/defines. inc. php
// Define ('zbx _ FONT_NAME ', 'javusans'); define ('zbx _ FONT_NAME ', 'simsun'); // define ('zbx _ GRAPH_FONT_NAME ', 'javusans '); // font file namedefine ('zbx _ GRAPH_FONT_NAME', 'simsun'); // font file name
Simsun is the font name and does not contain the ttf suffix.
The result is as follows: