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