Zabbix - Windows 安装 agent

Windows 安装 agent

  • 下载客户端:https://www.zabbix.com/download_agents
  • 有两种文件可以下载,一种是Archive,一种是MSI安装包

安装客户端

  1. 如果是MSI安装包,直接安装即可,注意在安装过程中需要配置 Server 端的地址。
  2. 关闭监控主机windows server 2008防火墙或防火墙入放行zabbix_agentd客户端口号 10050 (TPC/UDP)
  3. 解压文件到C:\zabbix_agent
  4. 准备配置文件: C:\zabbix_agent\conf\zabbix_agentd.win.conf
EnableRemoteCommands=1 # 允许在本地执行远程命令
LogRemoteCommands=1    # 执行远程命令是否保存操作日志
Server = 192.168.1.110 # 填写zabbix服务器IP地址
Hostname=wintest01     # zabbix_agent客户端计算机名 (被监控主机)
  1. 安装系统服务
C:\zabbix_agent\bin\win64\zabbix_agentd.exe -i -c C:\zabbix_agent\conf\zabbix_agentd.win.conf # 安装zabbix_agentd服务
C:\zabbix_agent\bin\win64\zabbix_agentd.exe -i -d C:\zabbix_agent\conf\zabbix_agentd.win.conf # 删除zabbix_agentd服务
C:\zabbix_agent\bin\win64\zabbix_agentd.exe -s -c C:\zabbix_agent\conf\zabbix_agentd.win.conf # 启动zabbix_agentd服务
posted @ 2020-11-18 15:40  duchaoqun  阅读(151)  评论(0编辑  收藏  举报