Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

85,392

Downloads of v 5.0.32:

70

Last Update:

07 Mar 2023

Package Maintainer(s):

Software Author(s):

  • Zabbix LLC

Tags:

zabbix monitoring admin msi agent2

Zabbix Agent 2

This is not the latest version of Zabbix Agent 2 available.

  • 1
  • 2
  • 3

5.0.32 | Updated: 07 Mar 2023

Downloads:

85,392

Downloads of v 5.0.32:

70

Maintainer(s):

Software Author(s):

  • Zabbix LLC

Zabbix Agent 2 5.0.32

This is not the latest version of Zabbix Agent 2 available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Zabbix LLC. The inclusion of Zabbix LLC trademark(s), if any, upon this webpage is solely to identify Zabbix LLC goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
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 https://community.chocolatey.org/api/v2/)


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 https://community.chocolatey.org/api/v2/. 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'" --version="'5.0.32'" [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'" --version="'5.0.32'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install zabbix-agent2
  win_chocolatey:
    name: zabbix-agent2
    version: '5.0.32'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


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

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller zabbix-agent2
{
    Name     = "zabbix-agent2"
    Version  = "5.0.32"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


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

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 07 Mar 2023.

Description

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 127.0.0.1.
  • Will add firewall rules.
  • Will NOT enable encryption.
  • Will NOT enable remote commands.

Please Note: To have choco remember parameters on upgrade, be sure to set:

choco feature enable -n=useRememberedArgumentsForUpgrades`

Package Parameters

A full list of configuration options is available in the Zabbix documentation.
Here are some of the most commonly used:

  • SERVER - List of comma delimited IP addresses (127.0.0.1).
  • SERVERACTIVE - IP:port (or hostname:port) of Zabbix server or Zabbix proxy for active checks ($SERVER).
  • HOSTNAME - Unique, case sensitive hostname ($env:COMPUTERNAME)
  • 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.
  • ALLOWDENYKEY - Sequence of "AllowKey" and "DenyKey" parameters separated by ;. Use \; to escape the delimiter.

These parameters can be passed to the installer with the use of --params.

Examples

choco install zabbix-agent2 --params '"/SERVER:<Zabbix Server IP>
choco install zabbix-agent2 --params '"/SERVER:192.168.6.76 /SERVERACTIVE:192.168.6.76 /HOSTNAME:zabbix-agent-1.zabbix.com /ALLOWDENYKEY:AllowKey=system.run[*] /SKIP:fw"'


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

$SilentArgs = "/qn /norestart"

$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=`"127.0.0.1`"" }
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.TLSPSKIDENTITY) { $SilentArgs += " TLSPSKIDENTITY=`"$($pp.TLSPSKIDENTITY)`"" }
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.TLSSERVERCERTISSUER) { $SilentArgs += " TLSSERVERCERTISSUER=`"$($pp.TLSSERVERCERTISSUER)`"" }
if ($pp.TLSSERVERCERTSUBJECT) { $SilentArgs += " TLSSERVERCERTSUBJECT=`"$($pp.TLSSERVERCERTSUBJECT)`"" }
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.HOSTMETADATAITEM) { $SilentArgs += " HOSTMETADATAITEM=`"$($pp.HOSTMETADATAITEM)`"" }
if ($pp.STATUSPORT) { $SilentArgs += " STATUSPORT=`"$($pp.STATUSPORT)`"" }
if ($pp.ENABLEPERSISTENTBUFFER) { $SilentArgs += " ENABLEPERSISTENTBUFFER=`"$($pp.ENABLEPERSISTENTBUFFER)`"" }
if ($pp.PERSISTENTBUFFERPERIOD) { $SilentArgs += " PERSISTENTBUFFERPERIOD=`"$($pp.PERSISTENTBUFFERPERIOD)`"" }
if ($pp.PERSISTENTBUFFERFILE) { $SilentArgs += " PERSISTENTBUFFERFILE=`"$($pp.PERSISTENTBUFFERFILE)`"" }
if ($pp.INSTALLFOLDER) { $SilentArgs += " INSTALLFOLDER=`"$($pp.INSTALLFOLDER)`"" }
if ($pp.ENABLEPATH) { $SilentArgs += " ENABLEPATH=`"$($pp.ENABLEPATH)`"" }
if ($pp.SKIP) { $SilentArgs += " SKIP=`"$($pp.SKIP)`"" }
if ($pp.INCLUDE) { $SilentArgs += " INCLUDE=`"$($pp.INCLUDE)`"" }
if ($pp.ALLOWDENYKEY) { $SilentArgs += " ALLOWDENYKEY=`"$($pp.ALLOWDENYKEY)`"" }

$PackageArgs = @{
  PackageName    = $env:ChocolateyPackageName
  FileType       = 'MSI'
  Url            = 'https://cdn.zabbix.com/zabbix/binaries/stable/5.0/5.0.32/zabbix_agent2-5.0.32-windows-i386-openssl.msi'
  Url64bit       = 'https://cdn.zabbix.com/zabbix/binaries/stable/5.0/5.0.32/zabbix_agent2-5.0.32-windows-amd64-openssl.msi'
  Checksum       = 'a49fa355514b19bc50e219f9640043af18b8d283f450b53c4f8509b577206851'
  ChecksumType   = 'sha256'
  Checksum64     = '59af66fc9df55ae7514889402cafe7bf078e6f99094a5062f623bc415c2a984c'
  ChecksumType64 = 'sha256'

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

Install-ChocolateyPackage @PackageArgs
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop';

$PackageName  = 'zabbix-agent2'
$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.

Add to Builder Version Downloads Last Updated Status
Zabbix Agent 2 7.0.5 6680 Tuesday, October 22, 2024 Approved
Zabbix Agent 2 7.0.4 41882 Tuesday, September 24, 2024 Approved
Zabbix Agent 2 7.0.3 3231 Monday, August 19, 2024 Approved
Zabbix Agent 2 7.0.2 7346 Monday, July 29, 2024 Approved
Zabbix Agent 2 7.0.1 416 Monday, July 22, 2024 Approved
Zabbix Agent 2 7.0.0 4467 Tuesday, June 4, 2024 Approved
Zabbix Agent 2 6.4.20 9 Wednesday, November 20, 2024 Approved
Zabbix Agent 2 6.4.19 15 Monday, September 23, 2024 Approved
Zabbix Agent 2 6.4.18 32 Monday, August 19, 2024 Approved
Zabbix Agent 2 6.4.17 26 Monday, July 15, 2024 Approved
Zabbix Agent 2 6.4.16 40 Monday, June 17, 2024 Approved
Zabbix Agent 2 6.4.15 798 Tuesday, May 21, 2024 Approved
Zabbix Agent 2 6.4.14 842 Monday, April 22, 2024 Approved
Zabbix Agent 2 6.4.13 1176 Tuesday, March 26, 2024 Approved
Zabbix Agent 2 6.4.12 1290 Thursday, February 29, 2024 Approved
Zabbix Agent 2 6.4.11 784 Monday, January 29, 2024 Approved
Zabbix Agent 2 6.4.10 817 Wednesday, December 13, 2023 Approved
Zabbix Agent 2 6.4.9 416 Thursday, November 30, 2023 Approved
Zabbix Agent 2 6.4.8 955 Tuesday, October 31, 2023 Approved
Zabbix Agent 2 6.4.7 1187 Tuesday, September 26, 2023 Approved
Zabbix Agent 2 6.4.6 733 Tuesday, August 22, 2023 Approved
Zabbix Agent 2 6.4.5 585 Tuesday, August 1, 2023 Approved
Zabbix Agent 2 6.4.4 752 Saturday, July 15, 2023 Approved
Zabbix Agent 2 6.2.9 1297 Monday, March 27, 2023 Approved
Zabbix Agent 2 6.2.8 352 Thursday, March 9, 2023 Approved
Zabbix Agent 2 6.2.7 1168 Thursday, February 2, 2023 Approved
Zabbix Agent 2 6.2.6 495 Monday, December 5, 2022 Approved
Zabbix Agent 2 6.2.5 48 Monday, November 28, 2022 Approved
Zabbix Agent 2 6.2.4 1985 Wednesday, November 2, 2022 Approved
Zabbix Agent 2 6.2.3 116 Monday, October 17, 2022 Approved
Zabbix Agent 2 6.2.2 330 Tuesday, September 20, 2022 Approved
Zabbix Agent 2 6.2.1 445 Tuesday, August 9, 2022 Approved
Zabbix Agent 2 6.0.36 12 Wednesday, November 20, 2024 Approved
Zabbix Agent 2 6.0.35 12 Tuesday, October 22, 2024 Approved
Zabbix Agent 2 6.0.34 17 Thursday, September 26, 2024 Approved
Zabbix Agent 2 6.0.33 32 Tuesday, August 13, 2024 Approved
Zabbix Agent 2 6.0.32 17 Monday, July 15, 2024 Approved
Zabbix Agent 2 6.0.31 25 Monday, June 17, 2024 Approved
Zabbix Agent 2 6.0.30 18 Tuesday, May 21, 2024 Approved
Zabbix Agent 2 6.0.29 25 Monday, April 22, 2024 Approved
Zabbix Agent 2 6.0.28 148 Tuesday, March 26, 2024 Approved
Zabbix Agent 2 6.0.27 20 Thursday, February 29, 2024 Approved
Zabbix Agent 2 6.0.26 2157 Monday, January 29, 2024 Approved
Zabbix Agent 2 6.0.25 140 Wednesday, December 13, 2023 Approved
Zabbix Agent 2 6.0.24 29 Thursday, November 30, 2023 Approved
Zabbix Agent 2 6.0.23 109 Tuesday, October 31, 2023 Approved
Zabbix Agent 2 6.0.22 35 Wednesday, October 18, 2023 Approved
Zabbix Agent 2 6.0.15 64 Friday, March 31, 2023 Approved
Zabbix Agent 2 6.0.14 47 Thursday, March 9, 2023 Approved
Zabbix Agent 2 6.0.13 41 Thursday, February 2, 2023 Approved
Zabbix Agent 2 6.0.12 53 Monday, December 5, 2022 Approved
Zabbix Agent 2 6.0.11 38 Monday, November 28, 2022 Approved
Zabbix Agent 2 6.0.10 60 Wednesday, November 2, 2022 Approved
Zabbix Agent 2 6.0.9 118 Monday, October 17, 2022 Approved
Zabbix Agent 2 5.4.12 39 Wednesday, October 18, 2023 Approved
Zabbix Agent 2 5.4.9 44 Saturday, July 15, 2023 Approved
Zabbix Agent 2 5.2.7 41 Saturday, July 15, 2023 Approved
Zabbix Agent 2 5.0.45 9 Wednesday, November 20, 2024 Approved
Zabbix Agent 2 5.0.44 14 Monday, September 23, 2024 Approved
Zabbix Agent 2 5.0.43 20 Tuesday, August 13, 2024 Approved
Zabbix Agent 2 5.0.42 23 Tuesday, March 26, 2024 Approved
Zabbix Agent 2 5.0.41 27 Monday, January 29, 2024 Approved
Zabbix Agent 2 5.0.40 25 Thursday, November 30, 2023 Approved
Zabbix Agent 2 5.0.39 37 Monday, October 30, 2023 Approved
Zabbix Agent 2 5.0.38 269 Wednesday, October 18, 2023 Approved
Zabbix Agent 2 5.0.33 44 Monday, March 27, 2023 Approved
Zabbix Agent 2 5.0.32 70 Tuesday, March 7, 2023 Approved
Zabbix Agent 2 5.0.31 30 Monday, January 30, 2023 Approved
Zabbix Agent 2 5.0.30 47 Monday, November 28, 2022 Approved
Zabbix Agent 2 5.0.29 48 Wednesday, November 2, 2022 Approved
Zabbix Agent 2 5.0.28 49 Monday, October 17, 2022 Approved

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