ZABBIX代理端自动安装脚本

color fd
C:\Windows\System32\drivers\etc
hosts
cd C:\ump\zabbix\conf
zabbix_agentd.conf
if %processor_architecture% EQU x86 copy /y C:\ump\zabbix\bin\win32 C:\ump\zabbix\
if %processor_architecture% EQU AMD64 copy /y C:\ump\zabbix\bin\win64 C:\ump\zabbix\
C:\ump\zabbix\zabbix_agentd.exe -c C:\ump\zabbix\conf\zabbix_agentd.conf -i
net start "Zabbix Agent"
sc config "Zabbix Agent" start= auto

posted @ 2020-01-20 15:48  呼长喜  阅读(216)  评论(0编辑  收藏  举报