10.安装zabbix agent

1.安装软件包

linux:

rpm -ivh zabbix-2.2.11-1.el6.x86_64.rpm zabbix-agent-2.2.11-1.el6.x86_64.rpm


windows:直接将软件包拷贝到指定目录即可

md C:\zabbix_agents_2.2.9.win

xcopy zabbix_agents_2.2.9.win C:\zabbix_agents_2.2.9.win /E /H /Y


2.修改配置文件中的Server和Hostname


如果不修改Hostname,会导致server端日志报如下错误:

cannot send list of active checks to [10.0.5.1]: host [Windows host] not found


3.启动客户端,并添加到启动项中

linux:

/etc/init.d/zabbix-agent restart

chkconfig zabbix-agent on


windows:

C:\zabbix_agents_2.2.9.win\bin\win64\zabbix_agentd.exe --install -c "C:\zabbix_agents_2.2.9.win\conf\zabbix_agentd.win.conf"

sc start "Zabbix Agent"


你可能感兴趣的:(zabbix)