码迷,mamicode.com
首页 > 其他好文 > 详细

10.安装zabbix agent

时间:2016-01-11 22:20:07      阅读:272      评论:0      收藏:0      [点我收藏+]

标签:zabbix

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:

sc start "Zabbix Agent"

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"

本文出自 “11062687” 博客,请务必保留此出处http://11072687.blog.51cto.com/11062687/1733930

10.安装zabbix agent

标签:zabbix

原文地址:http://11072687.blog.51cto.com/11062687/1733930

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!