zabbix 3.4 client installed yum

########### zabbix Client 
#### installed zabbix - Agent Source 
# Rpm- : -Uvh HTTP // repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release -3.2-1.el7.noarch.rpm 
# Rpm--Uvh HTTP: // repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-1.el7.centos.noarch.rpm 


wget HTTP: // repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-agent-3.4.1-1.el7.x86_64.rpm 
RPM -ivh zabbix-agent- 3.4 . 1 - 1 .el7. . x86_64.rpm 


Sed -i ' S / Server = ^. * / = 192.168.11.6 Server / G ' / etc / ZABBIX / zabbix_agentd.conf
 Sed -i's/^ServerActive=.*/ServerActive=192.168.11.6/g' /etc/zabbix/zabbix_agentd.conf
sed -i "s/^Hostname=.*/Hostname=$(hostname)/g" /etc/zabbix/zabbix_agentd.conf


systemctl enable zabbix-agent
systemctl restart zabbix-agent

 

Guess you like

Origin www.cnblogs.com/blog-lhong/p/12661454.html