1、下载zabbix-agent,需要与zabbix-server版本对应;比如zabbix-server是3.4的,zabbix-agent也要是3.4的;

       zabbix-agent 官网下载地址:https://www.zabbix.com/download_agents

       zabbix-agent 3.4下载:

       wget https://assets.zabbix.com/downloads/3.4.6/zabbix_agents_3.4.6.win.zip

2、解压zabbix_agents_3.4.6.win.zip

3、复制bin、conf文件到C盘下,注意是C盘的根目录下;

4、我的系统是64位的,在dos输入如下命令,添加服务:

5、运行--》services.msc-》启动zabbix-agent服务;

6、windows客户机安装notepad++文本编辑器;

      编辑conf文件夹下zabbix_agentd.win.conf

      修改如下:

     (1)Server=127.0.0.1  改成:Server=zabbix-server ip (比如:192.168.110.115)

     (2)ServerActive=127.0.0.1  改成   ServerActive=zabbix-server ip (比如:192.168.110.115)

     (3)Hostname=Windows host  改成   Hostname=windows客户机主机名(比如kevinsingapore);

7、在zabbix-server端配置对应主机监控信息即可。

Logo

Agent 垂直技术社区,欢迎活跃、内容共建。

更多推荐