Downloads of v 6.2.1:


Last Update:

09 Aug 2022

Package Maintainer(s):

Software Author(s):

  • Zabbix


zabbix monitoring agent 2 admin

Zabbix Agent 2

  • 1
  • 2
  • 3

6.2.1 | Updated: 09 Aug 2022



Downloads of v 6.2.1:



Software Author(s):

  • Zabbix

  • 1
  • 2
  • 3
Zabbix Agent 2 6.2.1

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests

Validation Testing Passed

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Zabbix Agent 2, run the following command from the command line or from PowerShell:


To upgrade Zabbix Agent 2, run the following command from the command line or from PowerShell:


To uninstall Zabbix Agent 2, run the following command from the command line or from PowerShell:


Deployment Method:

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

1. Enter Your Internal Repository Url

(this should look similar to

2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • 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. Copy Your Script

choco upgrade zabbix-agent2 -y --source="'INTERNAL REPO 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-agent2 -y --source="'INTERNAL REPO URL'" 

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

Exit $exitCode

- name: Install zabbix-agent2
    name: zabbix-agent2
    version: '6.2.1'
    state: present

See docs at

chocolatey_package 'zabbix-agent2' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '6.2.1'

See docs at

cChocoPackageInstaller zabbix-agent2
    Name     = "zabbix-agent2"
    Version  = "6.2.1"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'zabbix-agent2':
  ensure   => '6.2.1',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at

4. 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...

There are versions of this package awaiting moderation . See the Version History section below.

This package was approved by moderator TheCakeIsNaOH on 10 Aug 2022.




Zabbix agent 2 is a new generation of Zabbix agent and may be used in place of Zabbix agent. Zabbix agent 2 has been developed to:

reduce the number of TCP connections
provide improved concurrency of checks
be easily extendible with plugins. A plugin should be able to:
provide trivial checks consisting of only a few simple lines of code
provide complex checks consisting of long-running scripts and standalone data gathering with periodic sending back of the data
be a drop-in replacement for Zabbix agent (in that it supports all the previous functionality)
Agent 2 is written in Go (with some C code of Zabbix agent reused). A configured Go environment with a currently supported Go version is required for building Zabbix agent 2.

Agent 2 does not have built-in daemonization support on Linux; it can be run as a Windows service.


  • 2022-08-09 Version 6.2.1

  • 2021-07-27 Version 5.2.7

  • 2021-04-21 Version 5.2.6



choco install zabbix-agent2 -y

YAML (Foreman, puppetlabs/chocolatey module)

  ensure: latest
  provider: chocolatey


  ensure: latest

$ErrorActionPreference = 'Stop';

$packageName        = 'zabbix-agent2'
$version            = '6.2.1'
$url64              = "$version/zabbix_agent2-$version-windows-amd64-openssl.msi"
$checksum64         = "cf3babd1718591dd8336d5b4b2282455833b999a407891863d40f8e6df250640"
$installFolder      = "$Env:ProgramFiles\zabbix-agent2"
$silentArgs         = "/qn /norestart /l*v zabbix-log.txt"
#$silentArgs         = "/qn /norestart"
# Parameters
$pp = Get-PackageParameters
if ($pp.LOGTYPE) { $SilentArgs += " LOGTYPE=`"$($pp.LOGTYPE)`"" }
if ($pp.LOGFILE) { $SilentArgs += " LOGFILE=`"$($pp.LOGFILE)`"" }
if ($pp.SERVER) { $SilentArgs += " SERVER=`"$($pp.SERVER)`"" } else { $SilentArgs += " SERVER=`"`"" }
if ($pp.LISTENPORT) { $SilentArgs += " LISTENPORT=`"$($pp.LISTENPORT)`"" }
if ($pp.SERVERACTIVE) { $SilentArgs += " SERVERACTIVE=`"$($pp.SERVERACTIVE)`"" }
if ($pp.HOSTNAME) { $SilentArgs += " HOSTNAME=`"$($pp.HOSTNAME)`"" }
if ($pp.TIMEOUT) { $SilentArgs += " TIMEOUT=`"$($pp.TIMEOUT)`"" }
if ($pp.TLSCONNECT) { $SilentArgs += " TLSCONNECT=`"$($pp.TLSCONNECT)`"" }
if ($pp.TLSACCEPT) { $SilentArgs += " TLSACCEPT=`"$($pp.TLSACCEPT)`"" }
if ($pp.TLSPSKFILE) { $SilentArgs += " TLSPSKFILE=`"$($pp.TLSPSKFILE)`"" }
if ($pp.TLSPSKVALUE) { $SilentArgs += " TLSPSKVALUE=`"$($pp.TLSPSKVALUE)`"" }
if ($pp.TLSCAFILE) { $SilentArgs += " TLSCAFILE=`"$($pp.TLSCAFILE)`"" }
if ($pp.TLSCRLFILE) { $SilentArgs += " TLSCRLFILE=`"$($pp.TLSCRLFILE)`"" }
if ($pp.TLSCERTFILE) { $SilentArgs += "  TLSCERTFILE=`"$($pp.TLSCERTFILE)`"" }
if ($pp.TLSKEYFILE) { $SilentArgs += " TLSKEYFILE=`"$($pp.TLSKEYFILE)`"" }
if ($pp.LISTENIP) { $SilentArgs += " LISTENIP=`"$($pp.LISTENIP)`"" }
if ($pp.HOSTINTERFACE) { $SilentArgs += " HOSTINTERFACE=`"$($pp.HOSTINTERFACE)`"" }
if ($pp.HOSTMETADATA) { $SilentArgs += " HOSTMETADATA=`"$($pp.HOSTMETADATA)`"" }
if ($pp.INSTALLFOLDER) { $SilentArgs += " INSTALLFOLDER=`"$($pp.INSTALLFOLDER)`"" } else { $SilentArgs += " INSTALLFOLDER=`"$installFolder`"" }
if ($pp.ENABLEPATH) { $SilentArgs += " ENABLEPATH=`"$($pp.ENABLEPATH)`"" } else { $SilentArgs += " ENABLEPATH=1" }
if ($pp.SKIP) { $SilentArgs += " SKIP=`"$($pp.SKIP)`"" } else { $SilentArgs += " SKIP=fw" }
if ($pp.INCLUDE) { $SilentArgs += " INCLUDE=`"$($pp.INCLUDE)`"" }
if ($pp.ALLOWDENYKEY) { $SilentArgs += " ALLOWDENYKEY=`"$($pp.ALLOWDENYKEY)`"" }

$packageArgs = @{
  packageName   = $packageName
  fileType      = 'msi'
  silentArgs    = $SilentArgs
  validExitCodes= @(0, 3010, 1641)
  url64bit      = $url64
  checksumType64= 'sha256'
  checksum64    = $checksum64

# remove previous install keys if exists

$serviceName = 'Zabbix Agent 2'
# if stopped - remove service, something went wrong
# if running - stop, before msi update
If (Get-Service $serviceName -ErrorAction SilentlyContinue) {
  If ((Get-Service $serviceName).Status -eq 'Running') {
        Stop-Service $serviceName -Force -ErrorAction SilentlyContinue
        Write-Host "Stopping service $serviceName"
  else {
    Get-CimInstance -ClassName Win32_Service -Filter "Name=`'$serviceName`'" -ErrorAction SilentlyContinue | Remove-CimInstance -ErrorAction SilentlyContinue
    if (Test-Path "HKLM:\SYSTEM\CurrentControlSet\Services\EventLog\Application\Zabbix Agent 2") {
        Remove-Item "HKLM:\SYSTEM\CurrentControlSet\Services\EventLog\Application\Zabbix Agent 2" -Force -ErrorAction SilentlyContinue -Recurse
        Write-Host "Removing registry entries for $serviceName"
    Write-Host "Removing service $serviceName"
else {
  if (Test-Path "HKLM:\CurrentControlSet\Services\EventLog\Application\Zabbix Agent 2") {
      Remove-Item "HKLM:\SYSTEM\CurrentControlSet\Services\EventLog\Application\Zabbix Agent 2" -Force -ErrorAction SilentlyContinue -Recurse
      Write-Host "Removing registry entries for $serviceName"

Install-ChocolateyPackage @packageArgs

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.

Add to Builder Version Downloads Last Updated Status
Zabbix Agent 2 6.2.2 8 Tuesday, September 20, 2022 Ready

This package has no dependencies.

Discussion for the Zabbix Agent 2 Package

Ground Rules:

  • This discussion is only about Zabbix Agent 2 and the Zabbix Agent 2 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 2, 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