Time synchronization
Ntpdate time.nist.gov
Install Zabbix official Yum source
RPM-IVH http://repo.zabbix.com/zabbix/2.2/rhel/6/x86_64/zabbix-release-2.2-1.el6.noarch.rpm
Installing the Zabbix Client
Yum install-y Zabbix zabbix-agent
Shutting down the firewall
[Email protected] ~]# chkconfig iptables off
[[Email protected] ~]# service iptables stop
Close SELinux
[Email protected] ~]# Vi/etc/selinux/config
Selinux=disabled
[email protected] ~]#Getenforce 0
Modify zabbix_agentd.conf
Vi/etc/zabbix/zabbix_agentd.conf
server=127.0.0.1,172.19.34.135 Add Server IP Address
# listenport=10050 Remove the front " # "
Start the service
[Email protected] ~]# chkconfig zabbix-agent on
[[Email protected] ~]# service zabbix-agent start
Enter Zabbix page, adding monitored hosts
650) this.width=650; "Width=" "height=" 455 "title=" 1.png "style=" Width:738px;height:194px;float:none; "src=" http ://s3.51cto.com/wyfs02/m02/49/4d/wkiol1qsqp_rnk_jaayygp9jmmg717.jpg "alt=" wkiol1qsqp_rnk_jaayygp9jmmg717.jpg "/ >
Fill in the relevant host information
650) this.width=650; "Width=" "height=" 877 "title=" 2.png "style=" Width:738px;height:670px;float:none; "src=" http ://s3.51cto.com/wyfs02/m01/49/4d/wkiol1qsqqdzjl-paatg9bgcc9k805.jpg "alt=" wkiol1qsqqdzjl-paatg9bgcc9k805.jpg "/ >
At this point we need to add a template for this host, click on the newly created host
650) this.width=650; "Width=" "height=" 491 "title=" 3.png "style=" Width:740px;height:166px;float:none; "src=" http ://s3.51cto.com/wyfs02/m01/49/4b/wkiom1qsqo-h1wy6aayys-_bcys999.jpg "alt=" wkiom1qsqo-h1wy6aayys-_bcys999.jpg "/ >
Select the Templates tab and click Select
650) this.width=650; "Width=" "height=" 628 "title=" 4.png "style=" Width:736px;height:168px;float:none; "src=" http ://s3.51cto.com/wyfs02/m02/49/4d/wkiol1qsqqgipc5gaayo__zgwmy715.jpg "alt=" wkiol1qsqqgipc5gaayo__zgwmy715.jpg "/ >
Here Zabbix for us to preset a lot of available host templates, directly can use, we choose Template OS Linux, click on the following select
650) this.width=650; "title=" 6.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/49/4D/ Wkiol1qsqqlsh0k0aamjlxoul40724.jpg "alt=" Wkiol1qsqqlsh0k0aamjlxoul40724.jpg "/>
Click Add,save
650) this.width=650; "Width=" 1108 "height=" 323 "title=" 7.png "style=" Width:734px;height:190px;float:none; "src=" http ://s3.51cto.com/wyfs02/m02/49/4b/wkiom1qsqphrmzmtaahbokslfwk286.jpg "alt=" wkiom1qsqphrmzmtaahbokslfwk286.jpg "/ >
When you return to the hosts interface, you see that the Z icon has turned green to indicate a successful monitoring.
650) this.width=650; "Width=" "height=" 494 "title=" 8.png "style=" Width:736px;height:280px;float:none; "src=" http ://s3.51cto.com/wyfs02/m00/49/4b/wkiom1qsqpli5xoaaazywnr9umg712.jpg "alt=" wkiom1qsqpli5xoaaazywnr9umg712.jpg "/ >
This article is from the "zhufaqing" blog, make sure to keep this source http://19851225.blog.51cto.com/1088033/1551620
Zabbix Add Linux Client Agent method