windows安装zabbix agent 2

2024-11-25

windows安装zabbix agent 2

zabbix Agent 2 is written in Go programming language (with some C code of Zabbix agent reused).

1、下载
https://www.zabbix.com/cn/download_agents?version=7.0+LTS&release=7.0.0&os=Windows&os_version=Any&hardware=amd64&encryption=OpenSSL&packaging=MSI&show_legacy=0

https://cdn.zabbix.com/zabbix/binaries/stable/7.0/7.0.6/zabbix_agent2-7.0.6-windows-amd64-openssl.msi
https://cdn.zabbix.com/zabbix/binaries/stable/7.0/7.0.6/zabbix_agent-7.0.6-windows-amd64-openssl.msi
2、将安装后的目录,修改conf/zabbix_agent2.conf目录
Include=C:\Program Files\Zabbix Agent 2\conf.d
LogFile=C:\Program Files\Zabbix Agent 2\zabbix_agent2.log
改为
Include=c:\small\zabbix\conf.d
LogFile=C:\small\zabbix\zabbix_agent2.log
ServerActive=172.25.76.2
Server=172.25.76.2

3、cat install.bat
C:\small\zabbix\zabbix_agent2.exe -c C:\small\zabbix\zabbix_agent2.conf -i
C:\small\zabbix\zabbix_agent2.exe -c C:\small\zabbix\zabbix_agent2.conf -s
将c:\zabbix打包为zabbix.zip
4、复制到新机
以管理员方式执行install.bat

5、启动
Get-Service zabbix Agent 2 | start-service
Get-Service zabbix Agent 2 | stop-service

分类:操作系统 | 标签: |

相关日志

评论被关闭!