Two problems with zabbix - Chinese garbled characters, and monitoring virtual machines under ESXi

1. Chinese garbled characters

At first, the Chinese displayed rectangle and no text was displayed. Solution:

C:\windows\fonts Copy the font of italics below (the font is free to see what you like)

The file name is usually:

simkai.ttf

2. Upload simkai.ttf to zabbix server

3. Find the installation directory of zabbix

 

 cd to the /usr/share/zabbix directory

Copy simkai,ttf in the /root directory to the fonts directory in the zabbix directory

4. Modify the following content of zabbix include/defines.inc.php

Find using /ZBX_GRAPH_FONT_NAME

Modify the parameter content of the kneading surface to simkai

And enter the fonts directory to change the permission of simkai to 777

5. Enter zabbix to modify the display language of the admin user and log back in normally

 

 2. Monitor ESXi hosts

The first ESXi host needs to have SSH enabled. This is easily documented before

The second modification of the configuration file under zabbix

File: /etc/zabbix/zabbix_server.conf

Items that need to be modified

StartVMwareCollectors = 50

VMwareFrequency=10

VMwareCacheSize=256M

Save and exit, then restart zabbix

systemctl restart zabbix

Third, enter the login interface of zabbix admin.

Note that zabbix's default user Admin default password zabbix can be modified later by itself.

Then the main method is:

Add a host in the configuration-host interface

Enter the ip address, note that the port number is 80 

The template can be selected from VMWARE

Then the macro settings are more important

After the save is successful, click to find and modify the frequency to make the interval shorter.

Then create a graphic and you can view the graphic effect as shown above

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325518916&siteId=291194637