Downloads:

356,676

Downloads of v 6.0.6:

2,312

Last Update:

17 Jul 2022

Package Maintainer(s):

Software Author(s):

  • Zabbix LLC

Tags:

zabbix monitoring admin msi

Zabbix Agent (Install)

  • 1
  • 2
  • 3

6.0.6 | Updated: 17 Jul 2022

Downloads:

356,676

Downloads of v 6.0.6:

2,312

Maintainer(s):

Software Author(s):

  • Zabbix LLC

  • 1
  • 2
  • 3
Zabbix Agent (Install) 6.0.6

  • 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 (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:

>

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-agent.install -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.install -y --source="'INTERNAL REPO URL'" 
$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-agent.install
  win_chocolatey:
    name: zabbix-agent.install
    version: '6.0.6'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'zabbix-agent.install' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '6.0.6'
end

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


cChocoPackageInstaller zabbix-agent.install
{
    Name     = "zabbix-agent.install"
    Version  = "6.0.6"
    Source   = "INTERNAL REPO URL"
}

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


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

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 17 Jul 2022.

Description

This package installs the OpenSSL version of 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

With the exception of SERVER, which is set to 127.0.0.1, the default settings of the MSI are used.

Package Parameters

A full list of parameters is available in the Zabbix documentation.

To pass parameters, use --params "''" (e.g. choco install zabbix-agent.install --params="'/SERVER:zabbix.example.com /ENABLEPATH:1 /SKIP:fw'").

Please note: To have choco remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades.


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.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/6.0/6.0.6/zabbix_agent-6.0.6-windows-i386-openssl.msi'
  Url64bit       = 'https://cdn.zabbix.com/zabbix/binaries/stable/6.0/6.0.6/zabbix_agent-6.0.6-windows-amd64-openssl.msi'
  Checksum       = '25c1668d24068fd11dc9adf345695607f96b8a370e450107d62bcf2565573e68'
  ChecksumType   = 'sha256'
  Checksum64     = '3a25d451992567b019b11a6e4d3dd446aa71a0d71ec0d5f80e052764fac2a6ec'
  ChecksumType64 = 'sha256'

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

Install-ChocolateyPackage @PackageArgs
tools\chocolateyUninstall.ps1
$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.

Add to Builder Version Downloads Last Updated Status
Zabbix Agent (Install) 6.0.5 2035 Tuesday, June 21, 2022 Approved
Zabbix Agent (Install) 5.4.12.20220423 17 Saturday, April 23, 2022 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