Downloads of v 5.0.5:


Last Update:

26 Oct 2020

Package Maintainer(s):

Software Author(s):

  • Zabbix LLC


zabbix monitoring admin msi

Zabbix Agent (Install)

5.0.5 | Updated: 26 Oct 2020



Downloads of v 5.0.5:



Software Author(s):

  • Zabbix LLC

Zabbix Agent (Install) 5.0.5

All Checks are Passing

2 Passing Test

Validation Testing Passed

Verification Testing Passed


To install Zabbix Agent (Install), run the following command from the command line or from PowerShell:


To upgrade Zabbix Agent (Install), run the following command from the command line or from PowerShell:


To uninstall Zabbix Agent (Install), run the following command from the command line or from PowerShell:


NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade zabbix-agent.install -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade zabbix-agent.install -y --source="'STEP 3 URL'"

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Ensure zabbix-agent.install installed
    name: zabbix-agent.install
    state: present
    version: 5.0.5
    source: STEP 3 URL

See docs at

Coming early 2020! Central Managment Reporting available now! More information...

chocolatey_package 'zabbix-agent.install' do
  action    :install
  version  '5.0.5'
  source   'STEP 3 URL'

See docs at

    Name: zabbix-agent.install,
    Version: 5.0.5,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller zabbix-agent.install
   Name     = 'zabbix-agent.install'
   Ensure   = 'Present'
   Version  = '5.0.5'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'zabbix-agent.install':
  provider => 'chocolatey',
  ensure   => '5.0.5',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install zabbix-agent.install version="5.0.5" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

This package was approved as a trusted package on 26 Oct 2020.


This package installs the Zabbix agent MSI from the pre-compiled files supplied by Zabbix LLC. The source code for this Chocolatey package can be found on GitHub. Please file any issues you find in the project's Issue tracker.

Package installation defaults

By default, installation of this package:

  • Will install the OpenSSL version of the Zabbix agent to "%ProgramFiles%\Zabbix Agent".
  • Will set the hostname to $env:COMPUTERNAME.
  • Will set the server to
  • Will add firewall rules.
  • Will NOT enable encryption.
  • Will NOT enable remote commands.

Package Parameters

Defaults are listed in brackets, a full list of configuration options are availabe in the Zabbix documentation.

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 (
  • 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: / /ENABLEREMOTECOMMANDS:1 /SKIP:fw"'

$ErrorActionPreference = 'Stop';

$title = 'Zabbix Agent'

$installDir = Join-Path $env:PROGRAMFILES $title

$pp = Get-PackageParameters
$INSTALLFOLDER        = if ($pp.INSTALLFOLDER) { $pp.INSTALLFOLDER } else { $installDir }
$LOGTYPE              = if ($pp.LOGTYPE) { $pp.LOGTYPE } else { 'file' }
$LOGFILE              = if ($pp.LOGFILE) { $pp.LOGFILE } else { "$INSTALLFOLDER\zabbix_agentd.log" }
$SERVER               = if ($pp.SERVER) { $pp.SERVER } else { '' }
$LISTENPORT           = if ($pp.LISTENPORT) { $pp.LISTENPORT } else { '10050' }
$HOSTNAME             = if ($pp.HOSTNAME) { $pp.HOSTNAME } else { $env:COMPUTERNAME }
$TIMEOUT              = if ($pp.TIMEOUT) { $pp.TIMEOUT } else { '3' }
$TLSCONNECT           = if ($pp.TLSCONNECT) { $pp.TLSCONNECT } else { 'unencrypted' }
$TLSACCEPT            = if ($pp.TLSACCEPT) { $pp.TLSACCEPT } else { 'unencrypted' }
$TLSPSKFILE           = if ($pp.TLSPSKFILE) { $pp.TLSPSKFILE } else { '' }
$TLSPSKVALUE          = if ($pp.TLSPSKVALUE) { $pp.TLSPSKVALUE } else { 0 }
$TLSCAFILE            = if ($pp.TLSCAFILE) { $pp.TLSCAFILE } else { '' }
$TLSCRLFILE           = if ($pp.TLSCRLFILE) { $pp.TLSCRLFILE } else { '' }
$TLSCERTFILE          = if ($pp.TLSCERTFILE) { $pp.TLSCERTFILE } else { '' }
$TLSKEYFILE           = if ($pp.TLSKEYFILE) { $pp.TLSKEYFILE } else { '' }
$ENABLEPATH           = if ($pp.ENABLEPATH) { $pp.ENABLEPATH } else { 0 }
$SKIP                 = if ($pp.SKIP) { $pp.SKIP } else { 0 }

$SilentArgs = "/qn /norestart"

# TLSPSKVALUE does not like being set if it isn't being used.
if ($TLSPSKVALUE -ne 0) { $SilentArgs += " TLSPSKVALUE=`"$TLSPSKVALUE`"" }

$packageArgs = @{
  PackageName    = $env:ChocolateyPackageName
  FileType       = 'MSI'
  Url            = ''
  Url64bit       = ''
  Checksum       = '8fb140122cafa0a9f0184a64b4b9b3f4c66c47771a60affd5fbf04aee70c0134'
  ChecksumType   = 'sha256'
  Checksum64     = '4ee20029dacdbab91f0c0bf9d026a44286773c19878689d54f93cf287341e24e'
  ChecksumType64 = 'sha256'

  SilentArgs     = $SilentArgs
  ValidExitCodes = @(0, 3010, 1641)

Install-ChocolateyPackage @PackageArgs
$ErrorActionPreference = 'Stop';

$packageName  = 'zabbix-agent.install'
$softwareName = 'Zabbix Agent*'
$installerType = 'MSI'
$silentArgs = '/qn /norestart'
$validExitCodes = @(0, 3010, 1605, 1614, 1641)

$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName

if ($key.Count -eq 1) {
  $key | ForEach-Object {
    $file = "$($_.UninstallString)"

    if ($installerType -eq 'MSI') {
      $silentArgs = "$($_.PSChildName) $silentArgs"
       $file = ''

    Uninstall-ChocolateyPackage -PackageName $packageName `
                                -FileType $installerType `
                                -SilentArgs "$silentArgs" `
                                -ValidExitCodes $validExitCodes `
                                -File "$file"
} elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$key.Count matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert package maintainer the following keys were matched:"
  $key | ForEach-Object {Write-Warning "- $_.DisplayName"}

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Zabbix Agent (Install) 5.0.4 8383 Tuesday, September 29, 2020 Approved
Zabbix Agent (Install) 5.0.3 731 Monday, August 24, 2020 Approved
Zabbix Agent (Install) 5.0.2 2297 Monday, July 13, 2020 Approved
Zabbix Agent (Install) 5.0.1 14 Monday, July 13, 2020 Approved
Zabbix Agent (Install) 4.4.10 28 Monday, July 13, 2020 Approved
Zabbix Agent (Install) 4.4.5 89952 Thursday, January 30, 2020 Approved
Zabbix Agent (Install) 4.4.4 678 Thursday, January 16, 2020 Approved
Zabbix Agent (Install) 29 Thursday, January 16, 2020 Approved

This package has no dependencies.

Discussion for the Zabbix Agent (Install) Package

Ground Rules:

  • This discussion is only about Zabbix Agent (Install) and the Zabbix Agent (Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Zabbix Agent (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus