1)控制面板 -> 防火墙 -> 高级设置

Windows 安装 Zabbix Agent 5.0

 

 2)入站规则 -> 新建规则

Windows 安装 Zabbix Agent 5.0

 

 

3)选择 端口 -> TCP(本地 10050 端口)-> 允许连接 

 Windows 安装 Zabbix Agent 5.0    Windows 安装 Zabbix Agent 5.0  Windows 安装 Zabbix Agent 5.0

  Windows 安装 Zabbix Agent 5.0   Windows 安装 Zabbix Agent 5.0

 

 

  

2. 安装 Zabbix Agent

1)MSI 安装

选择合适的系统及 Zabbix版本,然后安装 https://www.zabbix.com/download_agents?version=5.0+LTS&release=5.0.8&os=Windows&os_version=Any&hardware=amd64&encryption=OpenSSL&packaging=MSI

2)图形安装时填入下面的配置 或 修改 agent 配置文件

安装目录\Zabbix Agent\zabbix_agentd.conf
Server=192.168.190.180,192.168.0.103
ServerActive=192.168.190.180
Hostname=192.168.0.103

# 192.168.190.180: zabbix-server 的 IP 地址,192.168.0.103 : windows zabbix-agent 的 IP 地址

3)启动 zabbix-agent

 win+r 窗口,输入 services.msc,右键重启 Zabbix Agent 服务

Windows 安装 Zabbix Agent 5.0

 

 

3. Zabbix Web 配置主机

1)先创建一个主机群组


Windows 安装 Zabbix Agent 5.0

 

 

2)创建主机

Windows 安装 Zabbix Agent 5.0

 

 

 Windows 安装 Zabbix Agent 5.0

 

3)添加模板
Windows 安装 Zabbix Agent 5.0

 

4)查看主机

Windows 安装 Zabbix Agent 5.0

 

 问题;

1.   zabbix web 的主机连接,报错:get value from agent failed: ZBX_TCP_READ() failed;[104] connection reset by peer

      zabbix windows agent log file zabbix_agentd.log 报错:failed to accept an incoming connection: connection from "192.168.0.103" rejected, allowed hosts: "192.168.190.180"

    1) 需要在  zabbix_agentd.conf 的 server 配置成 zabbix server 及 windows agent 的 两台机器的 IP

Server=192.168.190.180,192.168.0.103

   2)需求 将 10050 端口 配置到防火墙的 入站规则之内。完成后,可以通过 zabbix server 上 "telnet agnetip:10050",查看是否畅通

 

相关文章:

  • 2021-12-24
  • 2021-12-27
  • 2021-07-26
  • 2021-09-08
  • 2021-04-22
  • 2018-11-30
  • 2019-06-24
  • 2021-08-14
猜你喜欢
  • 2021-10-01
  • 2021-04-01
  • 2021-10-14
  • 2021-08-19
  • 2022-01-20
  • 2021-12-07
  • 2021-08-22
  • 2021-05-08
相关资源
相似解决方案