Zabbix Agent Windows MSI Install
Jump to navigation
Jump to search
https://www.zabbix.com/documentation/current/manual/installation/install_from_packages/win_msi
https://community.chocolatey.org/packages/zabbix-agent.install/4.0.27.20201207
Using choco and other methods
https://community.chocolatey.org/packages/zabbix-agent
https://www.zabbix.com/documentation/current/manual/appendix/config/zabbix_agentd_win
Please Note: To have choco remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades. LOGTYPE - Log output type (file). LOGFILE - Name of the agent log file ($INSTALLFOLDER\zabbix_agentd.log). ENABLEREMOTECOMMANDS - Whether remote commands from Zabbix server are allowed (0). SERVER - List of comma delimited IP addresses (127.0.0.1). LISTENPORT - Agent will listen on this port for connections from the server (10050) SERVERACTIVE - IP:port (or hostname:port) of Zabbix server or Zabbix proxy for active checks ($SERVER). HOSTNAME - Unique, case sensitive hostname ($env:COMPUTERNAME) TIMEOUT - Spend no more than Timeout seconds on processing (3). TLSCONNECT - How the agent should connect to Zabbix server or proxy. Used for active checks (unencrypted). TLSACCEPT - What incoming connections to accept (unencrypted). TLSPSKIDENTITY - Pre-shared key identity string, used for encrypted communications with Zabbix server. TLSPSKFILE - Full pathname of a file containing the agent private key used for encrypted communications with Zabbix components. TLSPSKVALUE - Pre-shared key value string, used for encrypted communications with Zabbix server. TLSCAFILE - Full pathname of a file containing the top-level CA(s) certificates for peer certificate verification, used for encrypted communications between Zabbix components. TLSCRLFILE - Full pathname of a file containing revoked certificates. This parameter is used for encrypted communications with Zabbix components. TLSSERVERCERTISSUER - Allowed server (proxy) certificate issuer. TLSSERVERCERTSUBJECT - Allowed server (proxy) certificate subject. TLSCERTFILE - Full pathname of a file containing the agent certificate or certificate chain, used for encrypted communications with Zabbix components. TLSKEYFILE - Full pathname of a file containing the agent pre-shared key used for encrypted communications with Zabbix components. INSTALLFOLDER - Full pathname specifying where the Zabbix agent should be installed (%ProgramFiles%\Zabbix Agent). ENABLEPATH - Add Zabbix agent to the PATH environment variable (0). SKIP - Passing "fw" to this parameter will skip adding the firewall exception rule. These parameters can be passed to the installer with the use of -params. For example : choco install zabbix-agent.install -params '"/SERVER:192.168.6.76 /HOSTNAME:zabbix-agent-1.zabbix.com /ENABLEREMOTECOMMANDS:1 /SKIP:fw"'