zabbix客户端的安装

centos 6安装zabbix客户端:

mkdir /gta && cd /gta && wget http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/zabbix-agent-3.0.4-1.el6.x86_64.rpm && rpm -ivh zabbix-agent-3.0.4-1.el6.x86_64.rpm && sed -i “s/Server=127.0.0.1/Server=10.222.134.220/g” /etc/zabbix/zabbix_agentd.conf && sed -i “s/ServerActive=127.0.0.1/ServerActive=10.222.134.220/g” /etc/zabbix/zabbix_agentd.conf && sed -i “s/Hostname=Zabbix server/Hostname=10.222.11.76/g” /etc/zabbix/zabbix_agentd.conf && more /etc/zabbix/zabbix_agentd.conf |grep -v “#”| egrep “Server=1|ServerActive=1|Hostname=10” --color && service zabbix-agent start

centos 7安装zabbix客户端:

mkdir /gta && cd /gta && wget http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-agent-3.0.4-1.el7.x86_64.rpm && rpm -ivh zabbix-agent-3.0.4-1.el7.x86_64.rpm && sed -i “s/Server=127.0.0.1/Server=10.222.134.220/g” /etc/zabbix/zabbix_agentd.conf && sed -i “s/ServerActive=127.0.0.1/ServerActive=10.222.134.220/g” /etc/zabbix/zabbix_agentd.conf && sed -i “s/Hostname=Zabbix server/Hostname=10.1.136.186/g” /etc/zabbix/zabbix_agentd.conf && more /etc/zabbix/zabbix_agentd.conf |grep -v “#”| egrep “Server=1|ServerActive=1|Hostname=10” --color && systemctl start zabbix-agent && chkconfig zabbix-agent on

windows 安装zabbix客户端 --管理员登录cmd

https://www.zabbix.com/downloads/3.0.10/zabbix_agents_3.0.10.win.zip

c:\zabbix_agent\bin\win64\zabbix_agentd.exe -i -c c:\zabbix_agent\conf\zabbix_agentd.win.conf
net start “zabbix agent”

配置文件:

UnsafeUserParameters=1
ServerActive=10.1.134.220
Hostname=192.168.101.118
Server=10.1.134.220
LogFile=C:\zabbix\zabbix_agentd.log

你可能感兴趣的:(Zabbix)