Downloads of v 5.4.3:


Last Update:

21 Jul 2021

Package Maintainer(s):

Software Author(s):

  • Zabbix LLC


zabbix monitoring admin

Zabbix Agent

  • 1
  • 2
  • 3

5.4.3 | Updated: 21 Jul 2021



Downloads of v 5.4.3:


Software Author(s):

  • Zabbix LLC

  • 1
  • 2
  • 3
Zabbix Agent 5.4.3

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Passed


Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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


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


To uninstall Zabbix Agent, 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-agent -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-agent -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-agent
    name: zabbix-agent
    version: '5.4.3'
    state: present

See docs at

chocolatey_package 'zabbix-agent' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '5.4.3'

See docs at

cChocoPackageInstaller zabbix-agent
    Name     = "zabbix-agent"
    Version  = "5.4.3"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'zabbix-agent':
  ensure   => '5.4.3',
  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.

This package was approved as a trusted package on 21 Jul 2021.


This package adds the Zabbix agent executables from the pre-compiled files supplied by Zabbix LLC.

The executables are placed in "%ProgramFiles%\Zabbix Agent" and the zabbix_agentd.conf file is stored in "%ProgramData%\zabbix". After this the service will be installed and set to run.

When new versions of the agent are installed, the original config is not overwritten but rather the version number of the new file is appended to the name. For example, if version 4.0.0 is installed and then upgraded to version 4.2.1 you will find the sample 4.2.1 config files saved as “zabbix_agentd-4.2.1.conf”.

The source code for this Chocolatey package can be found on GitHub. Please file any issues you find in the project's Issue tracker.

$version        = '5.4.3'
$id             = 'zabbix-agent'
$title          = 'Zabbix Agent'
$url            = ''
$url64          = ''
$checksum       = '58ebeeb55d72b37f741ac4526ca86445c252067448aa79cda7deea395a330245'
$checksumType   = 'sha256'
$checksum64     = '4e0d3a5ee148f43fb055d5c933c508c215978e23dcc632017bf36f72fedb0f74'
$checksumType64 = 'sha256'

$configDir      = Join-Path $env:PROGRAMDATA 'zabbix'
$zabbixConf     = Join-Path $configDir 'zabbix_agentd.conf'

$installDir     = Join-Path $env:PROGRAMFILES $title
$zabbixAgentd   = Join-Path $installDir 'zabbix_agentd.exe'

$tempDir        = Join-Path $env:TEMP 'chocolatey\zabbix'
$binDir         = Join-Path $tempDir 'bin'
$binFiles       = @('zabbix_agentd.exe', 'zabbix_get.exe', 'zabbix_sender.exe')
$sampleConfig   = Join-Path $tempDir 'conf\zabbix_agentd.conf'

$is64bit = (Get-WmiObject -Class Win32_OperatingSystem | Select-Object OSArchitecture) -match '64'
$service = Get-WmiObject -Class Win32_Service -Filter "Name=`'$title`'"

try {
  if ($service) {

  if (!(Test-Path $configDir)) {
    New-Item $configDir -type directory

  if (!(Test-Path $installDir)) {
    New-Item $installDir -type directory

  if (!(Test-Path $tempDir)) {
    New-Item $tempDir -type directory

  if ($is64bit) {
    $zipFile = Join-Path $tempDir "zabbix_agent-$"
  } else {
    $zipFile = Join-Path $tempDir "zabbix_agent-$"

  Get-ChocolateyWebFile -PackageName "$id" -FileFullPath "$zipFile" -Url "$url" -Url64bit "$url64" -Checksum "$checksum" -ChecksumType "$checksumType" -Checksum64 "$checksum64" -ChecksumType64 "$checksumType64"
  Get-ChocolateyUnzip "$zipFile" "$tempDir"

  foreach ($executable in $binFiles ) {
    $file = Join-Path $binDir $executable
    Move-Item $file $installDir -Force

  if (Test-Path "$installDir\zabbix_agentd.conf") {
    if ($service) {
      Clear-Variable -Name $service

    Move-Item "$installDir\zabbix_agentd.conf" "$configDir\zabbix_agentd.conf" -Force

  } elseif (Test-Path "$configDir\zabbix_agentd.conf") {
    $configFile = "$configDir\zabbix_agentd-$version.conf"
    Move-Item $sampleConfig $configFile -Force

  } else {
    $configFile = "$configDir\zabbix_agentd.conf"
    Move-Item $sampleConfig $configFile


  if (!($service)) {
    Start-ChocolateyProcessAsAdmin "--config `"$zabbixConf`" --install" "$zabbixAgentd"

  Start-Service -Name $title

  Install-ChocolateyPath $installDir 'Machine'

} catch {
  Write-Host 'Error installing Zabbix Agent'
  throw $_.Exception
$id         = 'zabbix-agent'
$title      = 'Zabbix Agent'
$installDir = Join-Path $env:PROGRAMFILES $title
$configDir  = Join-Path $env:PROGRAMDATA 'zabbix'

  $service = Get-WmiObject -Class Win32_Service -Filter "Name=`'$title`'"

  if ($service) {

  Remove-Item $installDir -Recurse
  Remove-Item $configDir -Recurse

  Write-Host "Error uninstalling Zabbix Agent"
  throw $_.Exception

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 5.4.2 21502 Monday, June 28, 2021 Approved
Zabbix Agent 5.4.1 3778 Monday, June 7, 2021 Approved
Zabbix Agent 5.4.0 2845 Monday, May 24, 2021 Approved
Zabbix Agent 5.2.6 87 Monday, May 24, 2021 Approved
Zabbix Agent 5.2.5 61280 Monday, February 22, 2021 Approved
Zabbix Agent 5.2.4 9383 Monday, January 25, 2021 Approved
Zabbix Agent 5.2.3 33609 Monday, December 21, 2020 Approved
Zabbix Agent 5.2.2 11518 Monday, December 7, 2020 Approved

This package has no dependencies.

Discussion for the Zabbix Agent Package

Ground Rules:

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