zabbix

zabbix graph Korean language is broken

misankim 2023. 6. 17. 00:43

zabbix graph Korean language is broken

 

 

 

# Zabbix default graph font

 

## zabbix 3.x version

 

[root@ip-172-16-100-106 fonts]# ll /usr/share/zabbix/assets/fonts/
total 0
lrwxrwxrwx. 1 root root 33 Jul 30 11:32 graphfont.ttf -> /etc/alternatives/zabbix-web-font

 

## zabbix 5.2 version

 

[root@bb4046033bc6 zabbix]# cd /usr/share/zabbix/assets/fonts/
[root@bb4046033bc6 fonts]# ls -al
total 2988
drwxr-xr-x. 1 root root      27 Nov 26 02:13 .
drwxr-xr-x. 1 root root      19 Jun  9 00:58 ..
-rw-r--r--. 1 root root  756072 Jun  9 00:58 DejaVuSans.ttf

 

 

# Download font and change file

 

## zabbix 3.x version

 

ll /usr/share/zabbix/assets/fonts/

rm -f /usr/share/zabbix/assets/fonts/graphfont.ttf

wget http://themes.googleusercontent.com/static/fonts/earlyaccess/nanumgothic/v3/NanumGothic-Bold.ttf -O /usr/share/zabbix/assets/fonts/graphfont.ttf

 

## zabbix 5.2 version

 

ll /usr/share/zabbix/assets/fonts/

rm -f /usr/share/zabbix/assets/fonts/DejaVuSans.ttf

wget http://themes.googleusercontent.com/static/fonts/earlyaccess/nanumgothic/v3/NanumGothic-Bold.ttf -O /usr/share/zabbix/assets/fonts/DejaVuSans.ttf