安裝zabbix客戶端web
•官網下載地址 www.zabbix.com/downloadvim
•安裝官網的zaibix擴展源tcp
# wget http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm //下載.net
# rpm -ivh zabbix-release-3.2-1.el7.noarch.rpm //安裝RPM包server
•客戶端安裝zibbixip
# yum install -y zabbix-agentget
•修改客戶端配置文件class
•#vim /etc/zabbix/zabbix_agentd.conf //修改以下配置擴展
Server=127.0.0.1修改成Server=192.168.71.100 //定義服務端的ip(被動模式)配置
ServerActive=127.0.0.1修改成ServerActive=192.168.71.100 //定義服務端的ip(主動模式)
Hostname=Zabbix server修改成Hostname=aming-123 //這是自定義的主機名,一會還須要在web界面下設置主機名
•啓動zabbix客戶端並加入啓動項
#systemctl start zabbix-agent
#systemctl enable zabbix-agent
[root@localhost ~]# netstat -lntp|grep zabbix
tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN 3256/zabbix_agentd
tcp6 0 0 :::10050 :::* LISTEN 3256/zabbix_agentd