Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created July 16, 2023 08:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save choco-bot/78f4a3cb63ee60cb1a6a0c528c2300fa to your computer and use it in GitHub Desktop.
Save choco-bot/78f4a3cb63ee60cb1a6a0c528c2300fa to your computer and use it in GitHub Desktop.
zabbix-agent v5.4.9 - Passed - Package Tests Results

zabbix-agent v5.4.9 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/zabbix-agent/5.4.9
  • Tested 16 Jul 2023 08:55:16 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.0.1
  • Install was successful.
  • Uninstall was successful.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg" checksum="9979798F0D75333BE08B78F11BFCE1FB" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec" checksum="52E0EEC1ACFBABBF1F213C3D2A3F55E0" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-5.4.9-windows-amd64-openssl.zip.txt" checksum="C2F6C8C445F13624D85250D0ACBBB898" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt" checksum="82B4494D3EFC80FBF5EA0B125B93B37D" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt" checksum="6B4D2CAEB8318CEFC0CDDDE172946157" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1" checksum="1707F744D732C749D4DBE723E24C5A95" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1" checksum="1EF7B5D5AA4FC966D564939253252F18" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.4.9-windows-amd64-openssl.zip" checksum="38A13AEEA1A075D6E16C6DF4094C0189" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.4.9-windows-i386-openssl.zip" checksum="9FE8E254E7257523B5682E0D566083CF" />
</files>
</fileSnapshot>
2023-07-16 08:54:30,055 4080 [DEBUG] - XmlConfiguration is now operational
2023-07-16 08:54:30,212 4080 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 08:54:30,227 4080 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 08:54:30,227 4080 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 08:54:30,227 4080 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 08:54:30,243 4080 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 08:54:30,243 4080 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-16 08:54:30,555 4080 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-16 08:54:30,571 4080 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-16 08:54:30,571 4080 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-16 08:54:30,571 4080 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-16 08:54:30,571 4080 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-16 08:54:30,587 4080 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-16 08:54:30,587 4080 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-16 08:54:30,587 4080 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-16 08:54:30,587 4080 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-16 08:54:30,602 4080 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-16 08:54:30,602 4080 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-16 08:54:30,602 4080 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-16 08:54:30,602 4080 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-16 08:54:30,618 4080 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-16 08:54:30,618 4080 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-16 08:54:30,618 4080 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-16 08:54:30,618 4080 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-16 08:54:30,633 4080 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-16 08:54:30,915 4080 [INFO ] - ============================================================
2023-07-16 08:54:31,306 4080 [INFO ] - Chocolatey v1.3.0
2023-07-16 08:54:31,352 4080 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-16 08:54:31,368 4080 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-16 08:54:31,368 4080 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-16 08:54:31,400 4080 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install zabbix-agent --version 5.4.9 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-16 08:54:31,400 4080 [DEBUG] - Received arguments: install zabbix-agent --version 5.4.9 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-16 08:54:31,587 4080 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-16 08:54:31,619 4080 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-16 08:54:31,650 4080 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-16 08:54:31,805 4080 [DEBUG] - Performing validation checks.
2023-07-16 08:54:31,821 4080 [DEBUG] - Global Configuration Validation Checks:
2023-07-16 08:54:31,838 4080 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-16 08:54:31,853 4080 [DEBUG] - System State Validation Checks:
2023-07-16 08:54:31,868 4080 [DEBUG] - Reboot Requirement Checks:
2023-07-16 08:54:31,868 4080 [DEBUG] - - Pending Computer Rename = Checked
2023-07-16 08:54:31,883 4080 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-16 08:54:31,899 4080 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-16 08:54:31,899 4080 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-16 08:54:31,914 4080 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-16 08:54:31,914 4080 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-16 08:54:31,946 4080 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-16 08:54:32,024 4080 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-16 08:54:32,024 4080 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-07-16 08:54:32,102 4080 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='zabbix-agent'|
Version='5.4.9'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='zabbix-agent'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-UI3ECTLM959'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-07-16 08:54:32,133 4080 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-07-16 08:54:32,165 4080 [INFO ] - Installing the following packages:
2023-07-16 08:54:32,182 4080 [INFO ] - zabbix-agent
2023-07-16 08:54:32,195 4080 [INFO ] - By installing, you accept licenses for the packages.
2023-07-16 08:54:32,212 4080 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-16 08:54:32,212 4080 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-16 08:54:32,227 4080 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-16 08:54:32,227 4080 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-16 08:54:32,243 4080 [DEBUG] - * 'ChocolateyLastPathUpdate'='133339031112854838' ('User')
2023-07-16 08:54:32,258 4080 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-16 08:54:32,258 4080 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-16 08:54:32,275 4080 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-16 08:54:32,289 4080 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-07-16 08:54:32,289 4080 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-16 08:54:32,305 4080 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-16 08:54:32,305 4080 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-16 08:54:32,321 4080 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-16 08:54:32,321 4080 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-16 08:54:32,336 4080 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-16 08:54:32,336 4080 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-16 08:54:32,352 4080 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-16 08:54:32,352 4080 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-16 08:54:32,352 4080 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-16 08:54:32,367 4080 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-16 08:54:32,367 4080 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-16 08:54:35,337 4080 [INFO ] - [NuGet] Installing 'zabbix-agent 5.4.9'.
2023-07-16 08:54:35,383 4080 [DEBUG] - [NuGet] Added file 'zabbix_agent-5.4.9-windows-i386-openssl.zip' to folder 'zabbix-agent\tools'.
2023-07-16 08:54:35,383 4080 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'zabbix-agent\tools'.
2023-07-16 08:54:35,398 4080 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'zabbix-agent\tools'.
2023-07-16 08:54:35,415 4080 [DEBUG] - [NuGet] Added file 'zabbix_agent-5.4.9-windows-amd64-openssl.zip' to folder 'zabbix-agent\tools'.
2023-07-16 08:54:35,415 4080 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'zabbix-agent\legal'.
2023-07-16 08:54:35,430 4080 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'zabbix-agent\legal'.
2023-07-16 08:54:35,463 4080 [DEBUG] - [NuGet] Added file 'zabbix-agent.nupkg' to folder 'zabbix-agent'.
2023-07-16 08:54:35,963 4080 [DEBUG] - [NuGet] Added file 'zabbix-agent.nuspec' to folder 'zabbix-agent'.
2023-07-16 08:54:35,963 4080 [INFO ] - [NuGet] Successfully installed 'zabbix-agent 5.4.9'.
2023-07-16 08:54:35,977 4080 [INFO ] -
zabbix-agent v5.4.9 (forced)
2023-07-16 08:54:36,009 4080 [INFO ] - zabbix-agent package files install completed. Performing other installation steps.
2023-07-16 08:54:36,196 4080 [DEBUG] - Setting installer args for zabbix-agent
2023-07-16 08:54:36,211 4080 [DEBUG] - Setting package parameters for zabbix-agent
2023-07-16 08:54:36,211 4080 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1':
2023-07-16 08:54:36,243 4080 [DEBUG] - $ErrorActionPreference = 'Stop';
$version = '5.4.9'
$title = 'Zabbix Agent'
$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'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$binDir = Join-Path $tempDir 'bin'
$binFiles = @('zabbix_agentd.exe', 'zabbix_get.exe', 'zabbix_sender.exe')
$sampleConfig = Join-Path $tempDir 'conf\zabbix_agentd.conf'
$service = Get-WmiObject -Class Win32_Service -Filter "Name=`'$title`'"
$PackageArgs = @{
PackageName = $env:ChocolateyPackageName
unzipLocation = $tempDir
file = "$toolsDir\zabbix_agent-5.4.9-windows-i386-openssl.zip"
file64 = "$toolsDir\zabbix_agent-5.4.9-windows-amd64-openssl.zip"
SilentArgs = $SilentArgs
ValidExitCodes = @(0, 3010, 1641)
}
try {
Get-ChocolateyUnzip @PackageArgs
if (!(Test-Path $configDir)) {
New-Item $configDir -type directory
}
if (!(Test-Path $installDir)) {
New-Item $installDir -type directory
}
foreach ($executable in $binFiles ) {
$file = Join-Path $binDir $executable
Move-Item $file $installDir -Force
}
if (Test-Path "$installDir\zabbix_agentd.conf") {
if ($service) {
$service.Delete()
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
}
2023-07-16 08:54:36,591 4080 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-07-16 08:54:36,621 4080 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-16 08:54:37,321 4080 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-16 08:54:37,805 4080 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-16 08:54:37,821 4080 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-16 08:54:37,821 4080 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-16 08:54:37,836 4080 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-16 08:54:37,836 4080 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-16 08:54:37,852 4080 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-16 08:54:37,868 4080 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-16 08:54:37,883 4080 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-16 08:54:37,883 4080 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-16 08:54:37,899 4080 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-16 08:54:37,915 4080 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-16 08:54:37,930 4080 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-16 08:54:37,930 4080 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-16 08:54:37,946 4080 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-16 08:54:37,946 4080 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-16 08:54:37,961 4080 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-16 08:54:37,961 4080 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-16 08:54:37,977 4080 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-16 08:54:37,992 4080 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-16 08:54:37,992 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-16 08:54:38,008 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-16 08:54:38,024 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-16 08:54:38,040 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-16 08:54:38,040 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-16 08:54:38,055 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-16 08:54:38,055 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-16 08:54:38,071 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-16 08:54:38,071 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-16 08:54:38,086 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-16 08:54:38,086 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-16 08:54:38,102 4080 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-16 08:54:38,117 4080 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-16 08:54:38,134 4080 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-16 08:54:38,134 4080 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-16 08:54:38,149 4080 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-16 08:54:38,164 4080 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-16 08:54:38,164 4080 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-16 08:54:38,180 4080 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-16 08:54:38,180 4080 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-16 08:54:38,196 4080 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-16 08:54:38,211 4080 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-16 08:54:38,212 4080 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-16 08:54:38,227 4080 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-16 08:54:38,227 4080 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-16 08:54:38,243 4080 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-16 08:54:38,243 4080 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-16 08:54:38,259 4080 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-16 08:54:38,274 4080 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-16 08:54:38,274 4080 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-16 08:54:38,290 4080 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-16 08:54:38,337 4080 [DEBUG] - Loading community extensions
2023-07-16 08:54:38,430 4080 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-16 08:54:38,446 4080 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-16 08:54:38,572 4080 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-16 08:54:38,572 4080 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-16 08:54:38,587 4080 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-16 08:54:38,602 4080 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-16 08:54:38,602 4080 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-16 08:54:38,618 4080 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-16 08:54:38,618 4080 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-16 08:54:38,633 4080 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-16 08:54:38,633 4080 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-16 08:54:38,649 4080 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-16 08:54:38,664 4080 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-16 08:54:38,680 4080 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-16 08:54:38,696 4080 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-16 08:54:38,712 4080 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-16 08:54:38,727 4080 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-16 08:54:38,727 4080 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-16 08:54:38,742 4080 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-16 08:54:38,742 4080 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-16 08:54:38,758 4080 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-16 08:54:38,758 4080 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-16 08:54:38,774 4080 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-16 08:54:38,774 4080 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-16 08:54:38,790 4080 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-16 08:54:38,805 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-16 08:54:38,805 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-16 08:54:38,820 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-16 08:54:38,836 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-16 08:54:38,836 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-16 08:54:38,852 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-16 08:54:38,868 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-16 08:54:38,883 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-16 08:54:38,899 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-16 08:54:38,899 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-16 08:54:38,914 4080 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-16 08:54:38,930 4080 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-16 08:54:38,930 4080 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-16 08:54:38,946 4080 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-16 08:54:38,946 4080 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-16 08:54:38,961 4080 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-16 08:54:38,961 4080 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-16 08:54:38,977 4080 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-16 08:54:38,977 4080 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-16 08:54:38,993 4080 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-16 08:54:38,993 4080 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-16 08:54:39,008 4080 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-16 08:54:39,008 4080 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-16 08:54:39,008 4080 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-16 08:54:39,024 4080 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-16 08:54:39,039 4080 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-16 08:54:39,039 4080 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-16 08:54:39,055 4080 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-16 08:54:39,070 4080 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-16 08:54:39,086 4080 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-16 08:54:39,086 4080 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-16 08:54:39,102 4080 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-16 08:54:39,118 4080 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-16 08:54:39,118 4080 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-16 08:54:39,133 4080 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-16 08:54:39,133 4080 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-16 08:54:39,148 4080 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-16 08:54:39,148 4080 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-16 08:54:39,165 4080 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-16 08:54:39,165 4080 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-16 08:54:39,180 4080 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-16 08:54:39,180 4080 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-16 08:54:39,196 4080 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-16 08:54:39,212 4080 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-16 08:54:39,212 4080 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-16 08:54:39,227 4080 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-16 08:54:39,243 4080 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-16 08:54:39,243 4080 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-16 08:54:39,258 4080 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-16 08:54:39,274 4080 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-16 08:54:39,289 4080 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-16 08:54:39,289 4080 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-16 08:54:39,305 4080 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-16 08:54:39,305 4080 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-16 08:54:39,321 4080 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-16 08:54:39,321 4080 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-16 08:54:39,336 4080 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-16 08:54:39,336 4080 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-16 08:54:39,367 4080 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-16 08:54:39,367 4080 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-16 08:54:39,383 4080 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-16 08:54:39,398 4080 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-16 08:54:39,398 4080 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-16 08:54:39,414 4080 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-16 08:54:39,414 4080 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-16 08:54:39,430 4080 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-16 08:54:39,430 4080 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-16 08:54:39,446 4080 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-16 08:54:39,446 4080 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-16 08:54:39,462 4080 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-16 08:54:39,478 4080 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-16 08:54:39,478 4080 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-16 08:54:39,492 4080 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-16 08:54:39,508 4080 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-16 08:54:39,508 4080 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-16 08:54:39,525 4080 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-16 08:54:39,539 4080 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-16 08:54:39,539 4080 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-16 08:54:39,539 4080 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-16 08:54:39,555 4080 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-16 08:54:39,555 4080 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-16 08:54:39,571 4080 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-16 08:54:39,571 4080 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-16 08:54:39,586 4080 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-16 08:54:39,586 4080 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-16 08:54:39,697 4080 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-16 08:54:39,743 4080 [DEBUG] - Running 'ChocolateyScriptRunner' for zabbix-agent v5.4.9 with packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\zabbix-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-16 08:54:39,837 4080 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
2023-07-16 08:54:43,399 4080 [DEBUG] - Running Get-ChocolateyUnzip -destination 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix' -fileFullPath64 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.4.9-windows-amd64-openssl.zip' -fileFullPath 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.4.9-windows-i386-openssl.zip' -packageName 'zabbix-agent'
2023-07-16 08:54:43,462 4080 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-07-16 08:54:43,539 4080 [INFO ] - Extracting 64-bit C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.4.9-windows-amd64-openssl.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix...
2023-07-16 08:54:43,587 4080 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2023-07-16 08:54:43,665 4080 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix" -y "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.4.9-windows-amd64-openssl.zip"]
2023-07-16 08:54:44,258 4080 [INFO ] - VERBOSE:
2023-07-16 08:54:44,274 4080 [INFO ] - VERBOSE: 7-Zip 21.07 (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
2023-07-16 08:54:44,290 4080 [INFO ] - VERBOSE:
2023-07-16 08:54:44,305 4080 [INFO ] - VERBOSE: Scanning the drive for archives:
2023-07-16 08:54:44,305 4080 [INFO ] - VERBOSE: 1 file, 4071274 bytes (3976 KiB)
2023-07-16 08:54:44,320 4080 [INFO ] - VERBOSE:
2023-07-16 08:54:44,320 4080 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.4.9-windows-amd64-openssl.zip
2023-07-16 08:54:44,336 4080 [INFO ] - VERBOSE: --
2023-07-16 08:54:44,336 4080 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.4.9-windows-amd64-openssl.zip
2023-07-16 08:54:44,353 4080 [INFO ] - VERBOSE: Type = zip
2023-07-16 08:54:44,353 4080 [INFO ] - VERBOSE: Physical Size = 4071274
2023-07-16 08:54:44,368 4080 [INFO ] - VERBOSE:
2023-07-16 08:54:44,383 4080 [INFO ] - VERBOSE: - bin\zabbix_agentd.exe
2023-07-16 08:54:44,430 4080 [INFO ] - VERBOSE: - bin\zabbix_get.exe
2023-07-16 08:54:44,430 4080 [INFO ] - VERBOSE: - bin\zabbix_sender.exe
2023-07-16 08:54:44,446 4080 [INFO ] - VERBOSE: - conf\zabbix_agentd.conf
2023-07-16 08:54:44,461 4080 [INFO ] - VERBOSE: Everything is Ok
2023-07-16 08:54:44,477 4080 [INFO ] - VERBOSE:
2023-07-16 08:54:44,494 4080 [INFO ] - VERBOSE: Files: 4
2023-07-16 08:54:44,494 4080 [INFO ] - VERBOSE: Size: 8931992
2023-07-16 08:54:44,509 4080 [INFO ] - VERBOSE: Compressed: 4071274
2023-07-16 08:54:44,602 4080 [DEBUG] - $exitCode was passed null
2023-07-16 08:54:44,602 4080 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix" -y "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.4.9-windows-amd64-openssl.zip"] exited with '0'.
2023-07-16 08:54:44,664 4080 [DEBUG] - 7z exit code: 0
2023-07-16 08:54:44,696 4080 [INFO ] - C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix
2023-07-16 08:54:44,711 4080 [INFO ] - C:\ProgramData\zabbix
2023-07-16 08:54:44,728 4080 [INFO ] - C:\Program Files\Zabbix Agent
2023-07-16 08:54:44,869 4080 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -statements '--config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install' -exeToRun 'C:\Program Files\Zabbix Agent\zabbix_agentd.exe'
2023-07-16 08:54:44,977 4080 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-16 08:54:45,009 4080 [DEBUG] - Elevating permissions and running ["C:\Program Files\Zabbix Agent\zabbix_agentd.exe" --config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install]. This may take a while, depending on the statements.
2023-07-16 08:54:45,602 4080 [ERROR] - zabbix_agentd.exe [2876]: service [Zabbix Agent] installed successfully
2023-07-16 08:54:45,602 4080 [ERROR] - zabbix_agentd.exe [2876]: event source [Zabbix Agent] installed successfully
2023-07-16 08:54:45,664 4080 [DEBUG] - Command ["C:\Program Files\Zabbix Agent\zabbix_agentd.exe" --config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install] exited with '0'.
2023-07-16 08:54:45,695 4080 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-07-16 08:54:45,711 4080 [INFO ] - 0
2023-07-16 08:54:46,430 4080 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\Program Files\Zabbix Agent' -pathType 'Machine'
2023-07-16 08:54:46,446 4080 [DEBUG] - Running Update-SessionEnvironment
2023-07-16 08:54:46,587 4080 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-16 08:54:47,196 4080 [INFO ] - PATH environment variable does not have C:\Program Files\Zabbix Agent in it. Adding...
2023-07-16 08:54:47,211 4080 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-07-16 08:54:47,508 4080 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-16 08:54:47,603 4080 [DEBUG] - Running Set-EnvironmentVariable -Name 'Path' -Value '%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\Zabbix Agent;' -Scope 'Machine'
2023-07-16 08:54:47,758 4080 [DEBUG] - Registry type for Path is/will be ExpandString
2023-07-16 08:54:47,806 4080 [DEBUG] -
using System;
using System.Runtime.InteropServices;
namespace Win32
{
public class NativeMethods
{
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
}
}
2023-07-16 08:54:48,758 4080 [DEBUG] - Running Update-SessionEnvironment
2023-07-16 08:54:48,774 4080 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-16 08:54:48,993 4080 [DEBUG] - ----------------------------------------------------------------------
2023-07-16 08:54:49,008 4080 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-07-16 08:54:49,024 4080 [WARN ] - Only an exit code of non-zero will fail the package by default. Set
`--failonstderr` if you want error messages to also fail a script. See
`choco -h` for details.
2023-07-16 08:54:49,039 4080 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-16 08:54:49,415 4080 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-16 08:54:49,430 4080 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-07-16 08:54:49,461 4080 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-07-16 08:54:49,461 4080 [DEBUG] - * ChocolateyLastPathUpdate='133339712883680661' (User)
2023-07-16 08:54:49,477 4080 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\Zabbix Agent;' (Machine)
2023-07-16 08:54:49,743 4080 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\zabbix-agent'
2023-07-16 08:54:49,790 4080 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg'
with checksum '9979798F0D75333BE08B78F11BFCE1FB'
2023-07-16 08:54:49,790 4080 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec'
with checksum '52E0EEC1ACFBABBF1F213C3D2A3F55E0'
2023-07-16 08:54:49,790 4080 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-5.4.9-windows-amd64-openssl.zip.txt'
with checksum 'C2F6C8C445F13624D85250D0ACBBB898'
2023-07-16 08:54:49,805 4080 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt'
with checksum '82B4494D3EFC80FBF5EA0B125B93B37D'
2023-07-16 08:54:49,805 4080 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt'
with checksum '6B4D2CAEB8318CEFC0CDDDE172946157'
2023-07-16 08:54:49,821 4080 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
with checksum '1707F744D732C749D4DBE723E24C5A95'
2023-07-16 08:54:49,836 4080 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1'
with checksum '1EF7B5D5AA4FC966D564939253252F18'
2023-07-16 08:54:49,916 4080 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.4.9-windows-amd64-openssl.zip'
with checksum '38A13AEEA1A075D6E16C6DF4094C0189'
2023-07-16 08:54:49,947 4080 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.4.9-windows-i386-openssl.zip'
with checksum '9FE8E254E7257523B5682E0D566083CF'
2023-07-16 08:54:50,055 4080 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.4.9".
2023-07-16 08:54:50,149 4080 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.4.9\.files'
2023-07-16 08:54:50,164 4080 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.4.9\.extra".
2023-07-16 08:54:50,164 4080 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.4.9\.version".
2023-07-16 08:54:50,180 4080 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.4.9\.sxs".
2023-07-16 08:54:50,195 4080 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.4.9\.pin".
2023-07-16 08:54:50,195 4080 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-07-16 08:54:50,212 4080 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\.chocolateyPending".
2023-07-16 08:54:50,227 4080 [INFO ] - The install of zabbix-agent was successful.
2023-07-16 08:54:50,227 4080 [INFO ] - Software installed to 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix'
2023-07-16 08:54:50,243 4080 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\zabbix-agent.5.4.9.nupkg".
2023-07-16 08:54:50,336 4080 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-16 08:54:50,352 4080 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-16 08:54:50,400 4080 [DEBUG] - Exiting with 0
2023-07-16 08:55:03,149 532 [DEBUG] - XmlConfiguration is now operational
2023-07-16 08:55:03,306 532 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 08:55:03,320 532 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 08:55:03,320 532 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 08:55:03,320 532 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 08:55:03,336 532 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 08:55:03,336 532 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-16 08:55:03,602 532 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-16 08:55:03,602 532 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-16 08:55:03,602 532 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-16 08:55:03,617 532 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-16 08:55:03,617 532 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-16 08:55:03,634 532 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-16 08:55:03,634 532 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-16 08:55:03,634 532 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-16 08:55:03,634 532 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-16 08:55:03,648 532 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-16 08:55:03,648 532 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-16 08:55:03,648 532 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-16 08:55:03,664 532 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-16 08:55:03,664 532 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-16 08:55:03,664 532 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-16 08:55:03,664 532 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-16 08:55:03,680 532 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-16 08:55:03,680 532 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-16 08:55:03,961 532 [INFO ] - ============================================================
2023-07-16 08:55:04,321 532 [INFO ] - Chocolatey v1.3.0
2023-07-16 08:55:04,352 532 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-16 08:55:04,352 532 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-16 08:55:04,368 532 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-16 08:55:04,383 532 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall zabbix-agent --version 5.4.9 -dvy --execution-timeout=2700
2023-07-16 08:55:04,399 532 [DEBUG] - Received arguments: uninstall zabbix-agent --version 5.4.9 -dvy --execution-timeout=2700
2023-07-16 08:55:04,571 532 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-16 08:55:04,602 532 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-16 08:55:04,617 532 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-16 08:55:04,775 532 [DEBUG] - Performing validation checks.
2023-07-16 08:55:04,790 532 [DEBUG] - Global Configuration Validation Checks:
2023-07-16 08:55:04,805 532 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-16 08:55:04,822 532 [DEBUG] - System State Validation Checks:
2023-07-16 08:55:04,837 532 [DEBUG] - Reboot Requirement Checks:
2023-07-16 08:55:04,837 532 [DEBUG] - - Pending Computer Rename = Checked
2023-07-16 08:55:04,852 532 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-16 08:55:04,852 532 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-16 08:55:04,868 532 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-16 08:55:04,868 532 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-16 08:55:04,883 532 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-16 08:55:04,899 532 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-16 08:55:04,961 532 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-16 08:55:04,961 532 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-07-16 08:55:05,008 532 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='zabbix-agent'|
Version='5.4.9'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='zabbix-agent'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-UI3ECTLM959'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-07-16 08:55:05,039 532 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-07-16 08:55:05,055 532 [INFO ] - Uninstalling the following packages:
2023-07-16 08:55:05,070 532 [INFO ] - zabbix-agent
2023-07-16 08:55:05,086 532 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-16 08:55:05,102 532 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-16 08:55:05,102 532 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-16 08:55:05,117 532 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-16 08:55:05,117 532 [DEBUG] - * 'ChocolateyLastPathUpdate'='133339712883680661' ('User')
2023-07-16 08:55:05,117 532 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-16 08:55:05,133 532 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-16 08:55:05,133 532 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-16 08:55:05,150 532 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\Zabbix Agent;' ('Machine')
2023-07-16 08:55:05,150 532 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-16 08:55:05,165 532 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-16 08:55:05,165 532 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-16 08:55:05,180 532 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-16 08:55:05,180 532 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-16 08:55:05,195 532 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-16 08:55:05,195 532 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-16 08:55:05,195 532 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-16 08:55:05,212 532 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-16 08:55:05,212 532 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-16 08:55:05,227 532 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-16 08:55:05,227 532 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-16 08:55:05,384 532 [DEBUG] - Running list with the following filter = ''
2023-07-16 08:55:05,384 532 [DEBUG] - --- Start of List ---
2023-07-16 08:55:05,774 532 [DEBUG] - zabbix-agent 5.4.9
2023-07-16 08:55:05,789 532 [DEBUG] - --- End of List ---
2023-07-16 08:55:06,055 532 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-07-16 08:55:06,070 532 [DEBUG] - Backing up existing zabbix-agent prior to operation.
2023-07-16 08:55:06,087 532 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\zabbix-agent'
to 'C:\ProgramData\chocolatey\lib-bkp\zabbix-agent'
2023-07-16 08:55:08,101 532 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\zabbix-agent".
2023-07-16 08:55:08,101 532 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\zabbix-agent.nupkg"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg".
2023-07-16 08:55:08,119 532 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\zabbix-agent.nuspec"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec".
2023-07-16 08:55:08,133 532 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\zabbix_agent-5.4.9-windows-amd64-openssl.zip.txt"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-5.4.9-windows-amd64-openssl.zip.txt".
2023-07-16 08:55:08,149 532 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\zabbix-agent\legal".
2023-07-16 08:55:08,149 532 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\legal\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt".
2023-07-16 08:55:08,164 532 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\legal\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt".
2023-07-16 08:55:08,164 532 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\zabbix-agent\tools".
2023-07-16 08:55:08,180 532 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1".
2023-07-16 08:55:08,195 532 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1".
2023-07-16 08:55:08,195 532 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\tools\zabbix_agent-5.4.9-windows-amd64-openssl.zip"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.4.9-windows-amd64-openssl.zip".
2023-07-16 08:55:08,211 532 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\tools\zabbix_agent-5.4.9-windows-i386-openssl.zip"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.4.9-windows-i386-openssl.zip".
2023-07-16 08:55:09,742 532 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\zabbix-agent'
2023-07-16 08:55:09,790 532 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg'
with checksum '9979798F0D75333BE08B78F11BFCE1FB'
2023-07-16 08:55:09,790 532 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec'
with checksum '52E0EEC1ACFBABBF1F213C3D2A3F55E0'
2023-07-16 08:55:09,805 532 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-5.4.9-windows-amd64-openssl.zip.txt'
with checksum 'C2F6C8C445F13624D85250D0ACBBB898'
2023-07-16 08:55:09,805 532 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt'
with checksum '82B4494D3EFC80FBF5EA0B125B93B37D'
2023-07-16 08:55:09,821 532 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt'
with checksum '6B4D2CAEB8318CEFC0CDDDE172946157'
2023-07-16 08:55:09,821 532 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
with checksum '1707F744D732C749D4DBE723E24C5A95'
2023-07-16 08:55:09,837 532 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1'
with checksum '1EF7B5D5AA4FC966D564939253252F18'
2023-07-16 08:55:09,868 532 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.4.9-windows-amd64-openssl.zip'
with checksum '38A13AEEA1A075D6E16C6DF4094C0189'
2023-07-16 08:55:09,899 532 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.4.9-windows-i386-openssl.zip'
with checksum '9FE8E254E7257523B5682E0D566083CF'
2023-07-16 08:55:10,414 532 [INFO ] - [NuGet] Uninstalling 'zabbix-agent 5.4.9'.
2023-07-16 08:55:10,431 532 [INFO ] -
zabbix-agent v5.4.9
2023-07-16 08:55:10,494 532 [DEBUG] - Setting installer args for zabbix-agent
2023-07-16 08:55:10,494 532 [DEBUG] - Setting package parameters for zabbix-agent
2023-07-16 08:55:10,508 532 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1':
2023-07-16 08:55:10,524 532 [DEBUG] - $id = 'zabbix-agent'
$title = 'Zabbix Agent'
$installDir = Join-Path $env:PROGRAMFILES $title
$configDir = Join-Path $env:PROGRAMDATA 'zabbix'
try
{
$service = Get-WmiObject -Class Win32_Service -Filter "Name=`'$title`'"
if ($service) {
$service.StopService()
$service.Delete()
}
Remove-Item $installDir -Recurse
Remove-Item $configDir -Recurse
}
catch
{
Write-Host "Error uninstalling Zabbix Agent"
throw $_.Exception
}
2023-07-16 08:55:10,587 532 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-07-16 08:55:10,635 532 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-16 08:55:11,321 532 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-16 08:55:11,853 532 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-16 08:55:11,868 532 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-16 08:55:11,868 532 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-16 08:55:11,883 532 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-16 08:55:11,883 532 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-16 08:55:11,899 532 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-16 08:55:11,899 532 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-16 08:55:11,915 532 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-16 08:55:11,915 532 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-16 08:55:11,930 532 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-16 08:55:11,930 532 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-16 08:55:11,945 532 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-16 08:55:11,945 532 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-16 08:55:11,961 532 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-16 08:55:11,961 532 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-16 08:55:11,977 532 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-16 08:55:11,977 532 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-16 08:55:11,992 532 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-16 08:55:11,992 532 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-16 08:55:12,008 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-16 08:55:12,008 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-16 08:55:12,024 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-16 08:55:12,024 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-16 08:55:12,039 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-16 08:55:12,039 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-16 08:55:12,055 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-16 08:55:12,055 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-16 08:55:12,071 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-16 08:55:12,086 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-16 08:55:12,102 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-16 08:55:12,102 532 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-16 08:55:12,118 532 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-16 08:55:12,133 532 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-16 08:55:12,133 532 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-16 08:55:12,149 532 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-16 08:55:12,149 532 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-16 08:55:12,164 532 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-16 08:55:12,164 532 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-16 08:55:12,180 532 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-16 08:55:12,180 532 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-16 08:55:12,196 532 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-16 08:55:12,196 532 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-16 08:55:12,212 532 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-16 08:55:12,212 532 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-16 08:55:12,228 532 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-16 08:55:12,228 532 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-16 08:55:12,243 532 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-16 08:55:12,243 532 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-16 08:55:12,258 532 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-16 08:55:12,258 532 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-16 08:55:12,307 532 [DEBUG] - Loading community extensions
2023-07-16 08:55:12,384 532 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-16 08:55:12,399 532 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-16 08:55:12,510 532 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-16 08:55:12,524 532 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-16 08:55:12,539 532 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-16 08:55:12,539 532 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-16 08:55:12,556 532 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-16 08:55:12,556 532 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-16 08:55:12,571 532 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-16 08:55:12,571 532 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-16 08:55:12,586 532 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-16 08:55:12,602 532 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-16 08:55:12,602 532 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-16 08:55:12,617 532 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-16 08:55:12,617 532 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-16 08:55:12,633 532 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-16 08:55:12,633 532 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-16 08:55:12,649 532 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-16 08:55:12,649 532 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-16 08:55:12,664 532 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-16 08:55:12,680 532 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-16 08:55:12,680 532 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-16 08:55:12,696 532 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-16 08:55:12,711 532 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-16 08:55:12,728 532 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-16 08:55:12,743 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-16 08:55:12,758 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-16 08:55:12,758 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-16 08:55:12,773 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-16 08:55:12,790 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-16 08:55:12,805 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-16 08:55:12,805 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-16 08:55:12,805 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-16 08:55:12,821 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-16 08:55:12,821 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-16 08:55:12,836 532 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-16 08:55:12,852 532 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-16 08:55:12,852 532 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-16 08:55:12,868 532 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-16 08:55:12,883 532 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-16 08:55:12,883 532 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-16 08:55:12,899 532 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-16 08:55:12,899 532 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-16 08:55:12,914 532 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-16 08:55:12,930 532 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-16 08:55:12,946 532 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-16 08:55:12,961 532 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-16 08:55:12,961 532 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-16 08:55:12,977 532 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-16 08:55:12,977 532 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-16 08:55:12,992 532 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-16 08:55:13,008 532 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-16 08:55:13,008 532 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-16 08:55:13,024 532 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-16 08:55:13,039 532 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-16 08:55:13,055 532 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-16 08:55:13,055 532 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-16 08:55:13,071 532 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-16 08:55:13,087 532 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-16 08:55:13,103 532 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-16 08:55:13,103 532 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-16 08:55:13,118 532 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-16 08:55:13,118 532 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-16 08:55:13,133 532 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-16 08:55:13,149 532 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-16 08:55:13,149 532 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-16 08:55:13,149 532 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-16 08:55:13,164 532 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-16 08:55:13,164 532 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-16 08:55:13,180 532 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-16 08:55:13,180 532 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-16 08:55:13,196 532 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-16 08:55:13,212 532 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-16 08:55:13,212 532 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-16 08:55:13,227 532 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-16 08:55:13,243 532 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-16 08:55:13,243 532 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-16 08:55:13,258 532 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-16 08:55:13,258 532 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-16 08:55:13,258 532 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-16 08:55:13,274 532 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-16 08:55:13,290 532 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-16 08:55:13,305 532 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-16 08:55:13,305 532 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-16 08:55:13,321 532 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-16 08:55:13,338 532 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-16 08:55:13,338 532 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-16 08:55:13,352 532 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-16 08:55:13,368 532 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-16 08:55:13,383 532 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-16 08:55:13,400 532 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-16 08:55:13,430 532 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-16 08:55:13,430 532 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-16 08:55:13,446 532 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-16 08:55:13,446 532 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-16 08:55:13,461 532 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-16 08:55:13,461 532 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-16 08:55:13,461 532 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-16 08:55:13,477 532 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-16 08:55:13,477 532 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-16 08:55:13,493 532 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-16 08:55:13,493 532 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-16 08:55:13,509 532 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-16 08:55:13,524 532 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-16 08:55:13,524 532 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-16 08:55:13,539 532 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-16 08:55:13,539 532 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-16 08:55:13,555 532 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-16 08:55:13,555 532 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-16 08:55:13,571 532 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-16 08:55:13,695 532 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-16 08:55:13,711 532 [DEBUG] - Running 'ChocolateyScriptRunner' for zabbix-agent v5.4.9 with packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\zabbix-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-16 08:55:13,790 532 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1'
2023-07-16 08:55:15,353 532 [INFO ] - System.Management.ManagementBaseObject
2023-07-16 08:55:15,398 532 [INFO ] - System.Management.ManagementBaseObject
2023-07-16 08:55:15,414 532 [ERROR] - Cannot remove item C:\Program Files\Zabbix Agent\zabbix_agentd.exe: Access to the path 'zabbix_agentd.exe' is denied.
2023-07-16 08:55:15,430 532 [ERROR] - Directory C:\Program Files\Zabbix Agent cannot be removed because it is not empty.
2023-07-16 08:55:15,477 532 [DEBUG] - ----------------------------------------------------------------------
2023-07-16 08:55:15,493 532 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-07-16 08:55:15,493 532 [WARN ] - Only an exit code of non-zero will fail the package by default. Set
`--failonstderr` if you want error messages to also fail a script. See
`choco -h` for details.
2023-07-16 08:55:15,555 532 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2023-07-16 08:55:15,555 532 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-16 08:55:15,680 532 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-16 08:55:15,695 532 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent".
2023-07-16 08:55:15,774 532 [DEBUG] - [NuGet] Removed file 'zabbix_agent-5.4.9-windows-i386-openssl.zip' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools'.
2023-07-16 08:55:15,789 532 [DEBUG] - [NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools'.
2023-07-16 08:55:15,789 532 [DEBUG] - [NuGet] Removed file 'chocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools'.
2023-07-16 08:55:15,805 532 [DEBUG] - [NuGet] Removed file 'zabbix_agent-5.4.9-windows-amd64-openssl.zip' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools'.
2023-07-16 08:55:15,836 532 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools'.
2023-07-16 08:55:15,836 532 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal'.
2023-07-16 08:55:15,852 532 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal'.
2023-07-16 08:55:15,867 532 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal'.
2023-07-16 08:55:15,867 532 [DEBUG] - [NuGet] Removed file 'zabbix-agent.nuspec' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent'.
2023-07-16 08:55:15,883 532 [DEBUG] - [NuGet] Removed file 'zabbix-agent.nupkg' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent'.
2023-07-16 08:55:15,899 532 [DEBUG] - [NuGet] The directory is not empty.
2023-07-16 08:55:15,899 532 [INFO ] - [NuGet] Successfully uninstalled 'zabbix-agent 5.4.9'.
2023-07-16 08:55:15,930 532 [INFO ] - zabbix-agent has been successfully uninstalled.
2023-07-16 08:55:15,946 532 [DEBUG] - Removing nupkg if it still exists.
2023-07-16 08:55:15,946 532 [DEBUG] - Ensuring removal of installation files.
2023-07-16 08:55:15,962 532 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-5.4.9-windows-amd64-openssl.zip.txt'
with checksum 'C2F6C8C445F13624D85250D0ACBBB898'
2023-07-16 08:55:15,962 532 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-5.4.9-windows-amd64-openssl.zip.txt".
2023-07-16 08:55:15,977 532 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\zabbix-agent".
2023-07-16 08:55:15,992 532 [DEBUG] - Ensuring removal of package cache files.
2023-07-16 08:55:16,040 532 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-16 08:55:16,055 532 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-16 08:55:16,087 532 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment