list1234 发表于 2019-1-20 10:07:46

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 : 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"
  




页: [1]
查看完整版本: 10.安装zabbix agent