Zabbix agent on Microsoft Windows

版权声明:李攀登(lipandeng_acb)原创作品,转载需声明,谢谢! https://blog.csdn.net/lipandeng_acb/article/details/84070083

官网文档参考

  • 编辑zabbix_agentd.conf
Server=10.32.XX.5
ServerActive=10.32.XX.5
Hostname=WS2012-XXXX
  • 安装Zabbix agent
    以管理员身份运行PowerShell
PS C:\Windows\system32> cd D:\zabbix_agents\bin\win64
PS D:\zabbix_agents\bin\win64> .\zabbix_agentd.exe --config D:\zabbix_agents\conf\zabbix_agentd.win.conf --install
zabbix_agentd.exe [6720]: service [Zabbix Agent] installed successfully
zabbix_agentd.exe [6720]: event source [Zabbix Agent] installed successfully
  • 启动Zabbix agent
PS D:\zabbix_agents\bin\win64> .\zabbix_agentd.exe --config D:\zabbix_agents\conf\zabbix_agentd.win.conf --start
zabbix_agentd.exe [6148]: service [Zabbix Agent] started successfully
  • 防火墙放行10050端口
    在这里插入图片描述

  • 查看服务运作状况
    在这里插入图片描述

  • Zabbix WEB添加主机
    在这里插入图片描述

  • 停止Zabbix agent

PS D:\zabbix_agents\bin\win64> .\zabbix_agentd.exe --config D:\zabbix_agents\conf\zabbix_agentd.win.conf --stop
  • 卸载Zabbix agent
PS D:\zabbix_agents\bin\win64> .\zabbix_agentd.exe --config D:\zabbix_agents\conf\zabbix_agentd.win.conf --uninstall

猜你喜欢

转载自blog.csdn.net/lipandeng_acb/article/details/84070083