Zabbix Monitoring Enterprise ESXi virtual machines
Yun Zhengjie
I came to the company for some time, and recently found that the Model department has a test and development response to a machine landing not up, the results of the landing ESXi server looked at a glance, the original hard disk space is full.
There is no way to clean up the server data, this thing I reflect on, this should be our operation of the lack of work, why to wait for others to develop and test the response to deal with the problem?
Why can't we go to the server when the hard disk space remains at 80%? So I have a variety of Baidu Google search information, again I want to thank Wang Junbiao classmates! Thanks for his warm-hearted help,
In order to thank him ~ I wrote this article, convenient after everyone encountered a problem can be quickly resolved!
1. Modify the configuration file for the Zabbix server
[Email protected] yinzhengjie]# cat/usr/local/zabbix/etc/zabbix_server.conf | grep vmwarecachesize | Grep-v ^#
vmwarecachesize=200m
[Email protected] yinzhengjie]# cat/usr/local/zabbix/etc/zabbix_server.conf | grep startvmwarecollectors | Grep-v ^#
startvmwarecollectors=10
[Email protected] yinzhengjie]# cat/usr/local/zabbix/etc/zabbix_server.conf | grep vmwarefrequency | Grep-v ^#
Vmwarefrequency=60
[Email protected] yinzhengjie]#
I Baidu to check the information, the 3 parameters of the configuration meaning as follows:
Startvmwarecollectors (0-250) only greater than 0 o'clock can be the function, meaning the number of pre-configured VMware monitoring instances.
Vmwarecachesize (256K-2G) the size of the VMware cluster structure maintained in memory, recommended 80M.
Vmwarefrequency (10-864000) Zabbix Gets the minimum interval of time, in minutes, to update the VMware cluster structure.
But I did not follow this, these parameters I have to give freely, parameters can be set freely yo ~
2. After the configuration file has been modified successfully, the service needs to be restarted to load the configuration information, remember that we can open a terminal when restarting the server
View log information yo ~ instead of waiting for his results ~ It's a good habit!
My log here is an error, said the template of the monitoring items do not support!
3. Create a Host
4. Modifying Agent configuration information
5. Remember to link Zabbix to your own template
6. Modifying the parameters of the system's own macros
Note: The above and the next one believe you see the name of the variable and the parameters I wrote later you should understand what it means, the middle of the URL is a bit difficult to understand, in fact, is ESXi landing interface just ~
Wait, let's enter the ESXi server address in the Address bar ~
Enter account password Login to see
7. Click to save the information, then need to modify the system automatically discovered the time
8. Or a large number of auto-discovered hosts in bulk
9. Feel free to gold an auto-discovered host to add images to it
Zabbix Monitoring Enterprise ESXi virtual machines