ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
### Zabbix 3.0客户端部署(Centos YUM) ##### 安装yum源以及安装zabbix-agent ~~~ rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/zabbix-release-3.0-1.el6.noarch.rpm yum install zabbix-agent zabbix-sender -y ~~~ ##### 启动zabbix-agent并配置开机启动 /etc/init.d/zabbix-agent start chkconfig zabbix-agent on ##### 修改配置文件 ~~~ sed -i 's%Server=127.0.0.1%Server=192.168.0.220,192.168.0.221%g' /etc/zabbix/zabbix_agentd.conf sed -i 's%Hostname=Zabbix server%#Hostname=Zabbix server%g' /etc/zabbix/zabbix_agentd.conf sed -i 's%# HostnameItem=system.hostname%HostnameItem=system.hostname%g' /etc/zabbix/zabbix_agentd.conf ~~~ ### Zabbix 3.0客户端部署(Centos编译安装) ~~~ ./configure --prefix=/app/zabbix --enable-agent make && make install ~~~ ### Zabbix客户端部署(Windows 64位) 上传zabbix_agent安装包到非C盘意外的其他盘区,在DOS界面输入命令以下命令(根据情况修改) ~~~ #安装服务 E:\zabbix_agents_3.0.4.win\bin\win32\zabbix_agentd.exe -c E:\zabbix_agents_3.0.4.win\conf\zabbix_agentd.win.conf –i 启动命令如下: E:\monitor_server\zabbix_agents_3.0.4.win\bin\win32\zabbix_agentd.exe -c E:\monitor_server\zabbix_agents_3.0.4.win\conf\zabbix_agentd.win.conf –s ~~~