Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 17, 2024 19:29
Show Gist options
  • Save choco-bot/0d4f950b0e34d6d4dcf7dc757c048216 to your computer and use it in GitHub Desktop.
Save choco-bot/0d4f950b0e34d6d4dcf7dc757c048216 to your computer and use it in GitHub Desktop.
zabbix-agent v6.4.16 - Passed - Package Tests Results

zabbix-agent v6.4.16 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/zabbix-agent/6.4.16
  • Tested 17 Jun 2024 19:29:07 +00:00
  • Tested against chocolatey/test-environment 3.0.0 (Windows Server 2019)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.1.0
  • 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="272F20B8B73506D35AA44A1EC441E885" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec" checksum="EB71630E30808FFE26CF1CE66DED1E06" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-6.4.16-windows-amd64-openssl.zip.txt" checksum="737AFF6A8E6B7AB9E25A3CDB462BB222" />
<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="37C91213D3126DFD2F71C71737B9DFF0" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1" checksum="7B4AE6A284D54D1115ACAA9058A1CD09" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1" checksum="1EF7B5D5AA4FC966D564939253252F18" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-amd64-openssl.zip" checksum="1DBBD70E1B7E2D156DAA58FA7ECA0CCE" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-i386-openssl.zip" checksum="337810C38E34E722FC1854C9450689D4" />
</files>
</fileSnapshot>
2024-06-17 19:27:44,922 5204 [DEBUG] - XmlConfiguration is now operational
2024-06-17 19:27:45,137 5204 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-06-17 19:27:45,154 5204 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-06-17 19:27:45,154 5204 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-06-17 19:27:45,169 5204 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-06-17 19:27:45,169 5204 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-06-17 19:27:45,217 5204 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-06-17 19:27:45,233 5204 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-06-17 19:27:45,233 5204 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-06-17 19:27:45,247 5204 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-06-17 19:27:45,247 5204 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-06-17 19:27:45,263 5204 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-06-17 19:27:46,500 5204 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:27:46,512 5204 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:27:46,512 5204 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:27:46,528 5204 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:27:46,528 5204 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:27:46,528 5204 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:27:46,544 5204 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:27:46,544 5204 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:27:46,559 5204 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:27:46,559 5204 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:27:46,606 5204 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-06-17 19:27:46,606 5204 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-06-17 19:27:46,622 5204 [DEBUG] - Registering new command 'rule' in assembly 'choco'
2024-06-17 19:27:46,622 5204 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-06-17 19:27:46,637 5204 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-06-17 19:27:46,637 5204 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-06-17 19:27:46,637 5204 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-06-17 19:27:46,654 5204 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-06-17 19:27:46,654 5204 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-06-17 19:27:46,668 5204 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-06-17 19:27:46,668 5204 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-06-17 19:27:46,684 5204 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-06-17 19:27:46,684 5204 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-06-17 19:27:46,700 5204 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-06-17 19:27:46,700 5204 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-06-17 19:27:46,718 5204 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-06-17 19:27:46,718 5204 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-06-17 19:27:46,731 5204 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-06-17 19:27:46,731 5204 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-06-17 19:27:46,731 5204 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-06-17 19:27:46,747 5204 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-06-17 19:27:47,169 5204 [INFO ] - ============================================================
2024-06-17 19:27:47,718 5204 [INFO ] - Chocolatey v2.3.0
2024-06-17 19:27:47,762 5204 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-06-17 19:27:47,780 5204 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-06-17 19:27:47,780 5204 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-06-17 19:27:47,809 5204 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install zabbix-agent --version 6.4.16 -fdvy --execution-timeout=2700 --allow-downgrade
2024-06-17 19:27:47,826 5204 [DEBUG] - Received arguments: install zabbix-agent --version 6.4.16 -fdvy --execution-timeout=2700 --allow-downgrade
2024-06-17 19:27:48,075 5204 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-06-17 19:27:48,122 5204 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-06-17 19:27:48,168 5204 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-06-17 19:27:48,481 5204 [DEBUG] - Performing validation checks.
2024-06-17 19:27:48,515 5204 [DEBUG] - Global Configuration Validation Checks:
2024-06-17 19:27:48,531 5204 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-06-17 19:27:48,543 5204 [DEBUG] - System State Validation Checks:
2024-06-17 19:27:48,560 5204 [DEBUG] - Reboot Requirement Checks:
2024-06-17 19:27:48,574 5204 [DEBUG] - - Pending Computer Rename = Checked
2024-06-17 19:27:48,590 5204 [DEBUG] - - Pending Component Based Servicing = Checked
2024-06-17 19:27:48,606 5204 [DEBUG] - - Pending Windows Auto Update = Checked
2024-06-17 19:27:48,622 5204 [DEBUG] - - Pending File Rename Operations = Ignored
2024-06-17 19:27:48,622 5204 [DEBUG] - - Pending Windows Package Installer = Checked
2024-06-17 19:27:48,637 5204 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-06-17 19:27:48,653 5204 [DEBUG] - Cache Folder Lockdown Checks:
2024-06-17 19:27:48,669 5204 [DEBUG] - - Elevated State = Checked
2024-06-17 19:27:48,669 5204 [DEBUG] - - Folder Exists = Checked
2024-06-17 19:27:48,701 5204 [DEBUG] - - Folder lockdown = Checked
2024-06-17 19:27:48,732 5204 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-06-17 19:27:48,840 5204 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-06-17 19:27:48,859 5204 [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.
2024-06-17 19:27:49,012 5204 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|IncludeConfiguredSources='False'|
ShowOnlineHelp='False'|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='6.4.16'|AllVersions='False'|
SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='zabbix-agent'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2019'|
Information.ChocolateyVersion='2.3.0.0'|
Information.ChocolateyProductVersion='2.3.0'|
Information.FullName='choco, Version=2.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-BHAMVGH9RRL'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='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'|
Features.UsePackageHashValidation='False'|
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'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
UpgradeCommand.IgnorePinned='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.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2024-06-17 19:27:49,044 5204 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2024-06-17 19:27:49,076 5204 [INFO ] - Installing the following packages:
2024-06-17 19:27:49,091 5204 [INFO ] - zabbix-agent
2024-06-17 19:27:49,091 5204 [INFO ] - By installing, you accept licenses for the packages.
2024-06-17 19:27:49,137 5204 [DEBUG] - Current environment values (may contain sensitive data):
2024-06-17 19:27:49,153 5204 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-06-17 19:27:49,169 5204 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-06-17 19:27:49,169 5204 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-06-17 19:27:49,184 5204 [DEBUG] - * 'ChocolateyLastPathUpdate'='133631005230096023' ('User')
2024-06-17 19:27:49,184 5204 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-06-17 19:27:49,200 5204 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-06-17 19:27:49,217 5204 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-06-17 19:27:49,217 5204 [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')
2024-06-17 19:27:49,231 5204 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-06-17 19:27:49,231 5204 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-06-17 19:27:49,247 5204 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-06-17 19:27:49,262 5204 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-06-17 19:27:49,262 5204 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-06-17 19:27:49,262 5204 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-06-17 19:27:49,278 5204 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-06-17 19:27:49,294 5204 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-06-17 19:27:49,309 5204 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-06-17 19:27:49,309 5204 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-06-17 19:27:49,309 5204 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-06-17 19:27:49,325 5204 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-06-17 19:27:50,137 5204 [DEBUG] - Running list with the following filter = ''
2024-06-17 19:27:50,153 5204 [DEBUG] - --- Start of List ---
2024-06-17 19:27:50,220 5204 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-06-17 19:27:50,950 5204 [DEBUG] - chocolatey 2.3.0
2024-06-17 19:27:50,981 5204 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-06-17 19:27:50,997 5204 [DEBUG] - KB2919355 1.0.20160915
2024-06-17 19:27:51,013 5204 [DEBUG] - KB2919442 1.0.20160915
2024-06-17 19:27:51,028 5204 [DEBUG] - KB2999226 1.0.20181019
2024-06-17 19:27:51,043 5204 [DEBUG] - KB3035131 1.0.3
2024-06-17 19:27:51,074 5204 [DEBUG] - KB3118401 1.0.5
2024-06-17 19:27:51,091 5204 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
2024-06-17 19:27:51,105 5204 [DEBUG] - --- End of List ---
2024-06-17 19:27:51,123 5204 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2024-06-17 19:27:51,907 5204 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2024-06-17 19:27:52,793 5204 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='6.4.16')
2024-06-17 19:27:53,075 5204 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='6.4.16') 261ms
2024-06-17 19:27:53,295 5204 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2024-06-17 19:27:54,059 5204 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2024-06-17 19:27:54,074 5204 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='6.4.16')
2024-06-17 19:27:54,403 5204 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2024-06-17 19:27:54,435 5204 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2024-06-17 19:27:54,511 5204 [DEBUG] - Attempting to delete file "".
2024-06-17 19:27:54,528 5204 [INFO ] - Downloading package from source 'https://community.chocolatey.org/api/v2/'
2024-06-17 19:27:54,543 5204 [DEBUG] - Package download location 'https://community.chocolatey.org/api/v2/package/zabbix-agent/6.4.16'
2024-06-17 19:27:54,605 5204 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/zabbix-agent/6.4.16
2024-06-17 19:27:55,277 5204 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/zabbix-agent/6.4.16 666ms
2024-06-17 19:27:55,340 5204 [INFO ] - [NuGet] Acquiring lock for the installation of zabbix-agent 6.4.16
2024-06-17 19:27:55,465 5204 [INFO ] - [NuGet] Acquired lock for the installation of zabbix-agent 6.4.16
2024-06-17 19:27:57,886 5204 [INFO ] - [NuGet] Installed zabbix-agent 6.4.16 from https://community.chocolatey.org/api/v2/ with content hash VIPkTnXo9IHlbKEJ85Mg9POvZFFXcqkOnTRyzA3v0hp6TL+i6LI+jzrWmuSlE0mvEaFODz1q1vDiBuaZTmjShw==.
2024-06-17 19:27:57,935 5204 [DEBUG] - Skipping package hash validation as feature 'usePackageHashValidation' is not enabled.
2024-06-17 19:27:57,996 5204 [INFO ] - [NuGet] Adding package 'zabbix-agent.6.4.16' to folder 'C:\ProgramData\chocolatey\lib'
2024-06-17 19:27:58,263 5204 [INFO ] - [NuGet] Added package 'zabbix-agent.6.4.16' to folder 'C:\ProgramData\chocolatey\lib'
2024-06-17 19:27:58,277 5204 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/6.4.16\zabbix-agent.6.4.16.nupkg".
2024-06-17 19:27:58,294 5204 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/6.4.16\.nupkg.metadata".
2024-06-17 19:27:58,294 5204 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/6.4.16\zabbix-agent.6.4.16.nupkg.sha512".
2024-06-17 19:27:58,308 5204 [INFO ] -
zabbix-agent v6.4.16 (forced)
2024-06-17 19:27:58,434 5204 [INFO ] - zabbix-agent package files install completed. Performing other installation steps.
2024-06-17 19:27:58,528 5204 [DEBUG] - Setting installer args for zabbix-agent
2024-06-17 19:27:58,544 5204 [DEBUG] - Setting package parameters for zabbix-agent
2024-06-17 19:27:58,544 5204 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1':
2024-06-17 19:27:58,573 5204 [DEBUG] - $ErrorActionPreference = 'Stop';
$version = '6.4.16'
$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-6.4.16-windows-i386-openssl.zip"
file64 = "$toolsDir\zabbix_agent-6.4.16-windows-amd64-openssl.zip"
}
try {
if ($service) {
$service.StopService()
}
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
}
2024-06-17 19:27:58,637 5204 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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']
2024-06-17 19:27:58,652 5204 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-06-17 19:28:00,464 5204 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.5830' and CLR Version is '4.0.30319.42000'.
2024-06-17 19:28:01,589 5204 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
2024-06-17 19:28:01,636 5204 [DEBUG] - Returning loaded assembly type for 'Chocolatey.PowerShell'
2024-06-17 19:28:01,653 5204 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2024-06-17 19:28:01,667 5204 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2024-06-17 19:28:01,684 5204 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2024-06-17 19:28:01,699 5204 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2024-06-17 19:28:01,717 5204 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2024-06-17 19:28:01,717 5204 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2024-06-17 19:28:01,731 5204 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2024-06-17 19:28:01,840 5204 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
2024-06-17 19:28:01,886 5204 [DEBUG] - Get-EnvironmentVariable
2024-06-17 19:28:01,886 5204 [DEBUG] - Get-EnvironmentVariableNames
2024-06-17 19:28:01,903 5204 [DEBUG] - Install-ChocolateyPath
2024-06-17 19:28:01,903 5204 [DEBUG] - Set-EnvironmentVariable
2024-06-17 19:28:01,918 5204 [DEBUG] - Test-ProcessAdminRights
2024-06-17 19:28:01,934 5204 [DEBUG] - Uninstall-ChocolateyPath
2024-06-17 19:28:01,934 5204 [DEBUG] - Update-SessionEnvironment
2024-06-17 19:28:01,964 5204 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-06-17 19:28:01,964 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-06-17 19:28:01,980 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-06-17 19:28:01,997 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-06-17 19:28:01,997 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-06-17 19:28:02,011 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-06-17 19:28:02,011 5204 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-06-17 19:28:02,026 5204 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-06-17 19:28:02,045 5204 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-06-17 19:28:02,045 5204 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-06-17 19:28:02,059 5204 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-06-17 19:28:02,073 5204 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-06-17 19:28:02,073 5204 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-06-17 19:28:02,121 5204 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-06-17 19:28:02,121 5204 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-06-17 19:28:02,136 5204 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-06-17 19:28:02,136 5204 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-06-17 19:28:02,153 5204 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-06-17 19:28:02,153 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-06-17 19:28:02,168 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-06-17 19:28:02,168 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-06-17 19:28:02,184 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-06-17 19:28:02,200 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-06-17 19:28:02,200 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-06-17 19:28:02,216 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-06-17 19:28:02,216 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-06-17 19:28:02,231 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-06-17 19:28:02,231 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-06-17 19:28:02,246 5204 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-06-17 19:28:02,246 5204 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-06-17 19:28:02,262 5204 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-06-17 19:28:02,262 5204 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-06-17 19:28:02,277 5204 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-06-17 19:28:02,277 5204 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-06-17 19:28:02,292 5204 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-06-17 19:28:02,308 5204 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-06-17 19:28:02,324 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-06-17 19:28:02,324 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-06-17 19:28:02,340 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-06-17 19:28:02,356 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-06-17 19:28:02,356 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-06-17 19:28:02,371 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-06-17 19:28:02,387 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-06-17 19:28:02,402 5204 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-06-17 19:28:02,419 5204 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-06-17 19:28:02,419 5204 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-06-17 19:28:02,433 5204 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-06-17 19:28:02,451 5204 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-06-17 19:28:02,451 5204 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-06-17 19:28:02,465 5204 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-06-17 19:28:02,465 5204 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-06-17 19:28:02,495 5204 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-06-17 19:28:02,512 5204 [DEBUG] - Loading community extensions
2024-06-17 19:28:02,573 5204 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-06-17 19:28:02,589 5204 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-06-17 19:28:02,808 5204 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-06-17 19:28:02,825 5204 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-06-17 19:28:02,839 5204 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-06-17 19:28:02,839 5204 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-06-17 19:28:02,901 5204 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-06-17 19:28:02,901 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-06-17 19:28:02,917 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-06-17 19:28:02,917 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-06-17 19:28:02,932 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-06-17 19:28:02,932 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-06-17 19:28:02,949 5204 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-06-17 19:28:02,964 5204 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-06-17 19:28:02,964 5204 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-06-17 19:28:02,980 5204 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-06-17 19:28:02,996 5204 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-06-17 19:28:02,996 5204 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-06-17 19:28:03,012 5204 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-06-17 19:28:03,028 5204 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-06-17 19:28:03,028 5204 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-06-17 19:28:03,042 5204 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-06-17 19:28:03,042 5204 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-06-17 19:28:03,060 5204 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-06-17 19:28:03,060 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-06-17 19:28:03,074 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-06-17 19:28:03,074 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-06-17 19:28:03,090 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-06-17 19:28:03,090 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-06-17 19:28:03,105 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-06-17 19:28:03,105 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-06-17 19:28:03,121 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-06-17 19:28:03,137 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-06-17 19:28:03,137 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-06-17 19:28:03,151 5204 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-06-17 19:28:03,151 5204 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-06-17 19:28:03,168 5204 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-06-17 19:28:03,183 5204 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-06-17 19:28:03,183 5204 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-06-17 19:28:03,199 5204 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-06-17 19:28:03,217 5204 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-06-17 19:28:03,217 5204 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-06-17 19:28:03,229 5204 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-06-17 19:28:03,229 5204 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-06-17 19:28:03,246 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-06-17 19:28:03,246 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-06-17 19:28:03,261 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-06-17 19:28:03,261 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-06-17 19:28:03,278 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-06-17 19:28:03,293 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-06-17 19:28:03,309 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-06-17 19:28:03,309 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-06-17 19:28:03,329 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-06-17 19:28:03,339 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-06-17 19:28:03,339 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-06-17 19:28:03,356 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-06-17 19:28:03,370 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-06-17 19:28:03,370 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-06-17 19:28:03,387 5204 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-06-17 19:28:03,387 5204 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-06-17 19:28:03,401 5204 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-06-17 19:28:03,417 5204 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-06-17 19:28:03,438 5204 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-06-17 19:28:03,450 5204 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-06-17 19:28:03,464 5204 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-06-17 19:28:03,512 5204 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-06-17 19:28:03,512 5204 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-06-17 19:28:03,543 5204 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2024-06-17 19:28:03,543 5204 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2024-06-17 19:28:03,558 5204 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2024-06-17 19:28:03,575 5204 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2024-06-17 19:28:03,590 5204 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2024-06-17 19:28:03,590 5204 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2024-06-17 19:28:03,621 5204 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2024-06-17 19:28:03,621 5204 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-06-17 19:28:03,636 5204 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-06-17 19:28:03,636 5204 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-06-17 19:28:03,652 5204 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-06-17 19:28:03,652 5204 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-06-17 19:28:03,668 5204 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-06-17 19:28:03,685 5204 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-06-17 19:28:03,698 5204 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-06-17 19:28:03,715 5204 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-06-17 19:28:03,715 5204 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-06-17 19:28:03,731 5204 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-06-17 19:28:03,752 5204 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-06-17 19:28:03,761 5204 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-06-17 19:28:03,761 5204 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-06-17 19:28:03,778 5204 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-06-17 19:28:03,793 5204 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-06-17 19:28:03,809 5204 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-06-17 19:28:03,825 5204 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-06-17 19:28:03,840 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-06-17 19:28:03,840 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-06-17 19:28:03,856 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-06-17 19:28:03,856 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-06-17 19:28:03,872 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-06-17 19:28:03,891 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-06-17 19:28:03,891 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-06-17 19:28:03,903 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-06-17 19:28:03,922 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-06-17 19:28:03,934 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-06-17 19:28:03,934 5204 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-06-17 19:28:03,964 5204 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-06-17 19:28:03,980 5204 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-06-17 19:28:03,980 5204 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-06-17 19:28:03,997 5204 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-06-17 19:28:03,997 5204 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-06-17 19:28:04,013 5204 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-06-17 19:28:04,031 5204 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-06-17 19:28:04,046 5204 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-06-17 19:28:04,075 5204 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-06-17 19:28:04,075 5204 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-06-17 19:28:04,091 5204 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-06-17 19:28:04,105 5204 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-06-17 19:28:04,122 5204 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-06-17 19:28:04,122 5204 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-06-17 19:28:04,136 5204 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-06-17 19:28:04,152 5204 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-06-17 19:28:04,152 5204 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-06-17 19:28:04,183 5204 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-06-17 19:28:04,464 5204 [DEBUG] - ---------------------------Script Execution---------------------------
2024-06-17 19:28:04,527 5204 [DEBUG] - Running 'ChocolateyScriptRunner' for zabbix-agent v6.4.16 with packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\zabbix-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-06-17 19:28:04,651 5204 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
2024-06-17 19:28:14,886 5204 [DEBUG] - Running Get-ChocolateyUnzip -destination 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix' -fileFullPath64 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-amd64-openssl.zip' -packageName 'zabbix-agent' -fileFullPath 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-i386-openssl.zip'
2024-06-17 19:28:14,949 5204 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2024-06-17 19:28:15,214 5204 [INFO ] - Extracting 64-bit C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-amd64-openssl.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix...
2024-06-17 19:28:15,354 5204 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2024-06-17 19:28:15,589 5204 [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-6.4.16-windows-amd64-openssl.zip"]
2024-06-17 19:28:16,467 5204 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-amd64-openssl.zip
2024-06-17 19:28:16,514 5204 [INFO ] - VERBOSE:
2024-06-17 19:28:16,558 5204 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
2024-06-17 19:28:16,573 5204 [INFO ] - VERBOSE: 1 file, 4098742 bytes (4003 KiB)
2024-06-17 19:28:16,589 5204 [INFO ] - VERBOSE:
2024-06-17 19:28:16,605 5204 [INFO ] - VERBOSE: Scanning the drive for archives:
2024-06-17 19:28:16,622 5204 [INFO ] - VERBOSE:
2024-06-17 19:28:16,622 5204 [INFO ] - VERBOSE: --
2024-06-17 19:28:16,635 5204 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-amd64-openssl.zip
2024-06-17 19:28:16,635 5204 [INFO ] - VERBOSE: Type = zip
2024-06-17 19:28:16,654 5204 [INFO ] - VERBOSE: Physical Size = 4098742
2024-06-17 19:28:16,667 5204 [INFO ] - VERBOSE:
2024-06-17 19:28:16,667 5204 [INFO ] - VERBOSE: - bin\zabbix_get.exe
2024-06-17 19:28:16,841 5204 [INFO ] - VERBOSE: - bin\zabbix_sender.exe
2024-06-17 19:28:16,855 5204 [INFO ] - VERBOSE: - conf\zabbix_agentd.conf
2024-06-17 19:28:16,871 5204 [INFO ] - VERBOSE: - bin\zabbix_agentd.exe
2024-06-17 19:28:16,886 5204 [INFO ] - VERBOSE: Everything is Ok
2024-06-17 19:28:16,902 5204 [INFO ] - VERBOSE: Size: 8975644
2024-06-17 19:28:16,918 5204 [INFO ] - VERBOSE:
2024-06-17 19:28:16,935 5204 [INFO ] - VERBOSE: Files: 4
2024-06-17 19:28:16,948 5204 [INFO ] - VERBOSE: Compressed: 4098742
2024-06-17 19:28:17,420 5204 [DEBUG] - $exitCode was passed null
2024-06-17 19:28:17,432 5204 [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-6.4.16-windows-amd64-openssl.zip"] exited with '0'.
2024-06-17 19:28:17,651 5204 [DEBUG] - 7z exit code: 0
2024-06-17 19:28:17,715 5204 [INFO ] - C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix
2024-06-17 19:28:17,776 5204 [INFO ] - C:\ProgramData\zabbix
2024-06-17 19:28:17,776 5204 [INFO ] - C:\Program Files\Zabbix Agent
2024-06-17 19:28:18,215 5204 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -statements '--config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install' -exeToRun 'C:\Program Files\Zabbix Agent\zabbix_agentd.exe'
2024-06-17 19:28:18,277 5204 [DEBUG] - Running Test-ProcessAdminRights
2024-06-17 19:28:18,324 5204 [DEBUG] - Test-ProcessAdminRights: returning True
2024-06-17 19:28:18,324 5204 [DEBUG] - Finishing 'Test-ProcessAdminRights'
2024-06-17 19:28:18,464 5204 [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.
2024-06-17 19:28:18,950 5204 [ERROR] - zabbix_agentd.exe [1892]: service [Zabbix Agent] installed successfully
2024-06-17 19:28:18,968 5204 [ERROR] - zabbix_agentd.exe [1892]: event source [Zabbix Agent] installed successfully
2024-06-17 19:28:18,995 5204 [DEBUG] - Command ["C:\Program Files\Zabbix Agent\zabbix_agentd.exe" --config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install] exited with '0'.
2024-06-17 19:28:19,136 5204 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2024-06-17 19:28:19,151 5204 [INFO ] - 0
2024-06-17 19:28:22,247 5204 [DEBUG] - Running Install-ChocolateyPath -Path 'C:\Program Files\Zabbix Agent' -PathType 'Machine'
2024-06-17 19:28:22,293 5204 [INFO ] - PATH environment variable does not have C:\Program Files\Zabbix Agent in it. Adding...
2024-06-17 19:28:22,307 5204 [DEBUG] - Registry type for PATH is/will be ExpandString
2024-06-17 19:28:22,607 5204 [DEBUG] - Finishing 'Install-ChocolateyPath'
2024-06-17 19:28:22,738 5204 [DEBUG] - ----------------------------------------------------------------------
2024-06-17 19:28:22,825 5204 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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'.
2024-06-17 19:28:22,839 5204 [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.
2024-06-17 19:28:22,856 5204 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-06-17 19:28:23,152 5204 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-06-17 19:28:23,214 5204 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2024-06-17 19:28:23,214 5204 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2024-06-17 19:28:23,237 5204 [DEBUG] - * ChocolateyLastPathUpdate='133631261023399079' (User)
2024-06-17 19:28:23,245 5204 [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)
2024-06-17 19:28:23,682 5204 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\zabbix-agent'
2024-06-17 19:28:23,764 5204 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg'
with checksum '272F20B8B73506D35AA44A1EC441E885'
2024-06-17 19:28:23,793 5204 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec'
with checksum 'EB71630E30808FFE26CF1CE66DED1E06'
2024-06-17 19:28:23,793 5204 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-6.4.16-windows-amd64-openssl.zip.txt'
with checksum '737AFF6A8E6B7AB9E25A3CDB462BB222'
2024-06-17 19:28:23,823 5204 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt'
with checksum '82B4494D3EFC80FBF5EA0B125B93B37D'
2024-06-17 19:28:23,840 5204 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt'
with checksum '37C91213D3126DFD2F71C71737B9DFF0'
2024-06-17 19:28:23,860 5204 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
with checksum '7B4AE6A284D54D1115ACAA9058A1CD09'
2024-06-17 19:28:23,860 5204 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1'
with checksum '1EF7B5D5AA4FC966D564939253252F18'
2024-06-17 19:28:23,933 5204 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-amd64-openssl.zip'
with checksum '1DBBD70E1B7E2D156DAA58FA7ECA0CCE'
2024-06-17 19:28:23,948 5204 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-i386-openssl.zip'
with checksum '337810C38E34E722FC1854C9450689D4'
2024-06-17 19:28:24,105 5204 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.16".
2024-06-17 19:28:24,323 5204 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.16\.files'
2024-06-17 19:28:24,338 5204 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.16\.extra".
2024-06-17 19:28:24,372 5204 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.16\.version".
2024-06-17 19:28:24,386 5204 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.16\.sxs".
2024-06-17 19:28:24,386 5204 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.16\.pin".
2024-06-17 19:28:24,464 5204 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-06-17 19:28:24,464 5204 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\.chocolateyPending".
2024-06-17 19:28:24,496 5204 [INFO ] - The install of zabbix-agent was successful.
2024-06-17 19:28:24,496 5204 [INFO ] - Deployed to 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix'
2024-06-17 19:28:24,543 5204 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-06-17 19:28:24,559 5204 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-06-17 19:28:24,574 5204 [DEBUG] - Exiting with 0
2024-06-17 19:28:45,808 1552 [DEBUG] - XmlConfiguration is now operational
2024-06-17 19:28:46,057 1552 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-06-17 19:28:46,073 1552 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-06-17 19:28:46,073 1552 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-06-17 19:28:46,089 1552 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-06-17 19:28:46,089 1552 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-06-17 19:28:46,089 1552 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-06-17 19:28:46,104 1552 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-06-17 19:28:46,104 1552 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-06-17 19:28:46,120 1552 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-06-17 19:28:46,120 1552 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-06-17 19:28:46,136 1552 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-06-17 19:28:47,510 1552 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:28:47,510 1552 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:28:47,526 1552 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:28:47,526 1552 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:28:47,541 1552 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:28:47,541 1552 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:28:47,559 1552 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:28:47,559 1552 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:28:47,574 1552 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:28:47,574 1552 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-06-17 19:28:47,620 1552 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-06-17 19:28:47,620 1552 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-06-17 19:28:47,635 1552 [DEBUG] - Registering new command 'rule' in assembly 'choco'
2024-06-17 19:28:47,635 1552 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-06-17 19:28:47,635 1552 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-06-17 19:28:47,652 1552 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-06-17 19:28:47,652 1552 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-06-17 19:28:47,667 1552 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-06-17 19:28:47,667 1552 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-06-17 19:28:47,683 1552 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-06-17 19:28:47,683 1552 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-06-17 19:28:47,698 1552 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-06-17 19:28:47,698 1552 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-06-17 19:28:47,698 1552 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-06-17 19:28:47,714 1552 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-06-17 19:28:47,732 1552 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-06-17 19:28:47,732 1552 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-06-17 19:28:47,744 1552 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-06-17 19:28:47,744 1552 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-06-17 19:28:47,761 1552 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-06-17 19:28:47,761 1552 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-06-17 19:28:48,167 1552 [INFO ] - ============================================================
2024-06-17 19:28:48,760 1552 [INFO ] - Chocolatey v2.3.0
2024-06-17 19:28:48,792 1552 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-06-17 19:28:48,872 1552 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-06-17 19:28:48,885 1552 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-06-17 19:28:48,917 1552 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall zabbix-agent --version 6.4.16 -dvy --execution-timeout=2700
2024-06-17 19:28:48,932 1552 [DEBUG] - Received arguments: uninstall zabbix-agent --version 6.4.16 -dvy --execution-timeout=2700
2024-06-17 19:28:49,215 1552 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-06-17 19:28:49,261 1552 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-06-17 19:28:49,308 1552 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-06-17 19:28:49,558 1552 [DEBUG] - Performing validation checks.
2024-06-17 19:28:49,590 1552 [DEBUG] - Global Configuration Validation Checks:
2024-06-17 19:28:49,605 1552 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-06-17 19:28:49,622 1552 [DEBUG] - System State Validation Checks:
2024-06-17 19:28:49,651 1552 [DEBUG] - Reboot Requirement Checks:
2024-06-17 19:28:49,651 1552 [DEBUG] - - Pending Computer Rename = Checked
2024-06-17 19:28:49,667 1552 [DEBUG] - - Pending Component Based Servicing = Checked
2024-06-17 19:28:49,682 1552 [DEBUG] - - Pending Windows Auto Update = Checked
2024-06-17 19:28:49,699 1552 [DEBUG] - - Pending File Rename Operations = Ignored
2024-06-17 19:28:49,699 1552 [DEBUG] - - Pending Windows Package Installer = Checked
2024-06-17 19:28:49,730 1552 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-06-17 19:28:49,745 1552 [DEBUG] - Cache Folder Lockdown Checks:
2024-06-17 19:28:49,761 1552 [DEBUG] - - Elevated State = Checked
2024-06-17 19:28:49,761 1552 [DEBUG] - - Folder Exists = Checked
2024-06-17 19:28:49,792 1552 [DEBUG] - - Folder lockdown = Checked
2024-06-17 19:28:49,792 1552 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-06-17 19:28:49,870 1552 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-06-17 19:28:49,887 1552 [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.
2024-06-17 19:28:50,027 1552 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|IncludeConfiguredSources='False'|
ShowOnlineHelp='False'|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='6.4.16'|AllVersions='False'|
SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='zabbix-agent'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2019'|
Information.ChocolateyVersion='2.3.0.0'|
Information.ChocolateyProductVersion='2.3.0'|
Information.FullName='choco, Version=2.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-BHAMVGH9RRL'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='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'|
Features.UsePackageHashValidation='False'|
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'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
UpgradeCommand.IgnorePinned='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.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2024-06-17 19:28:50,043 1552 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2024-06-17 19:28:50,074 1552 [INFO ] - Uninstalling the following packages:
2024-06-17 19:28:50,088 1552 [INFO ] - zabbix-agent
2024-06-17 19:28:50,104 1552 [DEBUG] - Current environment values (may contain sensitive data):
2024-06-17 19:28:50,120 1552 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-06-17 19:28:50,137 1552 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-06-17 19:28:50,137 1552 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-06-17 19:28:50,151 1552 [DEBUG] - * 'ChocolateyLastPathUpdate'='133631261023399079' ('User')
2024-06-17 19:28:50,151 1552 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-06-17 19:28:50,168 1552 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-06-17 19:28:50,168 1552 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-06-17 19:28:50,230 1552 [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')
2024-06-17 19:28:50,230 1552 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-06-17 19:28:50,245 1552 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-06-17 19:28:50,245 1552 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-06-17 19:28:50,263 1552 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-06-17 19:28:50,263 1552 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-06-17 19:28:50,277 1552 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-06-17 19:28:50,277 1552 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-06-17 19:28:50,293 1552 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-06-17 19:28:50,293 1552 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-06-17 19:28:50,308 1552 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-06-17 19:28:50,308 1552 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-06-17 19:28:50,324 1552 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-06-17 19:28:50,683 1552 [DEBUG] - Running list with the following filter = ''
2024-06-17 19:28:50,683 1552 [DEBUG] - --- Start of List ---
2024-06-17 19:28:51,072 1552 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-06-17 19:28:52,152 1552 [DEBUG] - chocolatey 2.3.0
2024-06-17 19:28:52,167 1552 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-06-17 19:28:52,183 1552 [DEBUG] - KB2919355 1.0.20160915
2024-06-17 19:28:52,197 1552 [DEBUG] - KB2919442 1.0.20160915
2024-06-17 19:28:52,214 1552 [DEBUG] - KB2999226 1.0.20181019
2024-06-17 19:28:52,231 1552 [DEBUG] - KB3035131 1.0.3
2024-06-17 19:28:52,245 1552 [DEBUG] - KB3118401 1.0.5
2024-06-17 19:28:52,260 1552 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
2024-06-17 19:28:52,369 1552 [DEBUG] - zabbix-agent 6.4.16
2024-06-17 19:28:52,369 1552 [DEBUG] - --- End of List ---
2024-06-17 19:28:52,385 1552 [DEBUG] - Running list with the following filter = ''
2024-06-17 19:28:52,385 1552 [DEBUG] - --- Start of List ---
2024-06-17 19:28:52,434 1552 [DEBUG] - chocolatey 2.3.0
2024-06-17 19:28:52,434 1552 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-06-17 19:28:52,448 1552 [DEBUG] - KB2919355 1.0.20160915
2024-06-17 19:28:52,464 1552 [DEBUG] - KB2919442 1.0.20160915
2024-06-17 19:28:52,479 1552 [DEBUG] - KB2999226 1.0.20181019
2024-06-17 19:28:52,495 1552 [DEBUG] - KB3035131 1.0.3
2024-06-17 19:28:52,511 1552 [DEBUG] - KB3118401 1.0.5
2024-06-17 19:28:52,527 1552 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
2024-06-17 19:28:52,573 1552 [DEBUG] - zabbix-agent 6.4.16
2024-06-17 19:28:52,573 1552 [DEBUG] - --- End of List ---
2024-06-17 19:28:52,716 1552 [DEBUG] - Running list with the following filter = ''
2024-06-17 19:28:52,730 1552 [DEBUG] - --- Start of List ---
2024-06-17 19:28:52,760 1552 [DEBUG] - chocolatey 2.3.0
2024-06-17 19:28:52,776 1552 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-06-17 19:28:52,792 1552 [DEBUG] - KB2919355 1.0.20160915
2024-06-17 19:28:52,792 1552 [DEBUG] - KB2919442 1.0.20160915
2024-06-17 19:28:52,808 1552 [DEBUG] - KB2999226 1.0.20181019
2024-06-17 19:28:52,824 1552 [DEBUG] - KB3035131 1.0.3
2024-06-17 19:28:52,839 1552 [DEBUG] - KB3118401 1.0.5
2024-06-17 19:28:52,854 1552 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
2024-06-17 19:28:52,885 1552 [DEBUG] - zabbix-agent 6.4.16
2024-06-17 19:28:52,901 1552 [DEBUG] - --- End of List ---
2024-06-17 19:28:52,994 1552 [INFO ] -
zabbix-agent v6.4.16
2024-06-17 19:28:53,041 1552 [DEBUG] - Running beforeModify step for 'zabbix-agent'
2024-06-17 19:28:53,073 1552 [DEBUG] - Backing up package files for 'zabbix-agent'
2024-06-17 19:28:53,307 1552 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent".
2024-06-17 19:28:53,322 1552 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\zabbix-agent to C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\6.4.16
2024-06-17 19:28:53,338 1552 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\zabbix-agent'
to 'C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\6.4.16'
2024-06-17 19:28:55,353 1552 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\zabbix-agent".
2024-06-17 19:28:55,370 1552 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\6.4.16\zabbix-agent.nupkg"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg".
2024-06-17 19:28:55,385 1552 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\6.4.16\zabbix-agent.nuspec"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec".
2024-06-17 19:28:55,385 1552 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\6.4.16\zabbix_agent-6.4.16-windows-amd64-openssl.zip.txt"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-6.4.16-windows-amd64-openssl.zip.txt".
2024-06-17 19:28:55,402 1552 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\zabbix-agent\legal".
2024-06-17 19:28:55,416 1552 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\6.4.16\legal\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt".
2024-06-17 19:28:55,416 1552 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\6.4.16\legal\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt".
2024-06-17 19:28:55,433 1552 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\zabbix-agent\tools".
2024-06-17 19:28:55,449 1552 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\6.4.16\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1".
2024-06-17 19:28:55,449 1552 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\6.4.16\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1".
2024-06-17 19:28:55,463 1552 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\6.4.16\tools\zabbix_agent-6.4.16-windows-amd64-openssl.zip"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-amd64-openssl.zip".
2024-06-17 19:28:55,479 1552 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\6.4.16\tools\zabbix_agent-6.4.16-windows-i386-openssl.zip"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-i386-openssl.zip".
2024-06-17 19:28:57,027 1552 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\zabbix-agent'
2024-06-17 19:28:57,073 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg'
with checksum '272F20B8B73506D35AA44A1EC441E885'
2024-06-17 19:28:57,088 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec'
with checksum 'EB71630E30808FFE26CF1CE66DED1E06'
2024-06-17 19:28:57,088 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-6.4.16-windows-amd64-openssl.zip.txt'
with checksum '737AFF6A8E6B7AB9E25A3CDB462BB222'
2024-06-17 19:28:57,104 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt'
with checksum '82B4494D3EFC80FBF5EA0B125B93B37D'
2024-06-17 19:28:57,104 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt'
with checksum '37C91213D3126DFD2F71C71737B9DFF0'
2024-06-17 19:28:57,119 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
with checksum '7B4AE6A284D54D1115ACAA9058A1CD09'
2024-06-17 19:28:57,119 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1'
with checksum '1EF7B5D5AA4FC966D564939253252F18'
2024-06-17 19:28:57,150 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-amd64-openssl.zip'
with checksum '1DBBD70E1B7E2D156DAA58FA7ECA0CCE'
2024-06-17 19:28:57,183 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-i386-openssl.zip'
with checksum '337810C38E34E722FC1854C9450689D4'
2024-06-17 19:28:57,245 1552 [DEBUG] - Setting installer args for zabbix-agent
2024-06-17 19:28:57,245 1552 [DEBUG] - Setting package parameters for zabbix-agent
2024-06-17 19:28:57,260 1552 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1':
2024-06-17 19:28:57,278 1552 [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
}
2024-06-17 19:28:57,338 1552 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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']
2024-06-17 19:28:57,353 1552 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-06-17 19:28:58,700 1552 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.5830' and CLR Version is '4.0.30319.42000'.
2024-06-17 19:28:59,578 1552 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
2024-06-17 19:28:59,620 1552 [DEBUG] - Returning loaded assembly type for 'Chocolatey.PowerShell'
2024-06-17 19:28:59,635 1552 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2024-06-17 19:28:59,635 1552 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2024-06-17 19:28:59,650 1552 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2024-06-17 19:28:59,666 1552 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2024-06-17 19:28:59,666 1552 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2024-06-17 19:28:59,682 1552 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2024-06-17 19:28:59,682 1552 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2024-06-17 19:28:59,776 1552 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
2024-06-17 19:28:59,824 1552 [DEBUG] - Get-EnvironmentVariable
2024-06-17 19:28:59,841 1552 [DEBUG] - Get-EnvironmentVariableNames
2024-06-17 19:28:59,853 1552 [DEBUG] - Install-ChocolateyPath
2024-06-17 19:28:59,853 1552 [DEBUG] - Set-EnvironmentVariable
2024-06-17 19:28:59,870 1552 [DEBUG] - Test-ProcessAdminRights
2024-06-17 19:28:59,870 1552 [DEBUG] - Uninstall-ChocolateyPath
2024-06-17 19:28:59,870 1552 [DEBUG] - Update-SessionEnvironment
2024-06-17 19:28:59,900 1552 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-06-17 19:28:59,900 1552 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-06-17 19:28:59,916 1552 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-06-17 19:28:59,932 1552 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-06-17 19:28:59,932 1552 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-06-17 19:28:59,947 1552 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-06-17 19:28:59,947 1552 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-06-17 19:28:59,964 1552 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-06-17 19:28:59,964 1552 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-06-17 19:28:59,979 1552 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-06-17 19:28:59,994 1552 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-06-17 19:28:59,994 1552 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-06-17 19:29:00,011 1552 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-06-17 19:29:00,014 1552 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-06-17 19:29:00,026 1552 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-06-17 19:29:00,041 1552 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-06-17 19:29:00,041 1552 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-06-17 19:29:00,059 1552 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-06-17 19:29:00,075 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-06-17 19:29:00,091 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-06-17 19:29:00,091 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-06-17 19:29:00,104 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-06-17 19:29:00,104 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-06-17 19:29:00,120 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-06-17 19:29:00,137 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-06-17 19:29:00,137 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-06-17 19:29:00,151 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-06-17 19:29:00,151 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-06-17 19:29:00,166 1552 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-06-17 19:29:00,183 1552 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-06-17 19:29:00,183 1552 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-06-17 19:29:00,198 1552 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-06-17 19:29:00,213 1552 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-06-17 19:29:00,213 1552 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-06-17 19:29:00,231 1552 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-06-17 19:29:00,231 1552 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-06-17 19:29:00,244 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-06-17 19:29:00,244 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-06-17 19:29:00,276 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-06-17 19:29:00,276 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-06-17 19:29:00,291 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-06-17 19:29:00,291 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-06-17 19:29:00,307 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-06-17 19:29:00,324 1552 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-06-17 19:29:00,342 1552 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-06-17 19:29:00,357 1552 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-06-17 19:29:00,357 1552 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-06-17 19:29:00,369 1552 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-06-17 19:29:00,369 1552 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-06-17 19:29:00,387 1552 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-06-17 19:29:00,387 1552 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-06-17 19:29:00,400 1552 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-06-17 19:29:00,418 1552 [DEBUG] - Loading community extensions
2024-06-17 19:29:00,478 1552 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-06-17 19:29:00,478 1552 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-06-17 19:29:00,667 1552 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-06-17 19:29:00,682 1552 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-06-17 19:29:00,682 1552 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-06-17 19:29:00,698 1552 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-06-17 19:29:00,745 1552 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-06-17 19:29:00,761 1552 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-06-17 19:29:00,777 1552 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-06-17 19:29:00,777 1552 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-06-17 19:29:00,791 1552 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-06-17 19:29:00,791 1552 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-06-17 19:29:00,807 1552 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-06-17 19:29:00,807 1552 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-06-17 19:29:00,824 1552 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-06-17 19:29:00,824 1552 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-06-17 19:29:00,840 1552 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-06-17 19:29:00,856 1552 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-06-17 19:29:00,856 1552 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-06-17 19:29:00,870 1552 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-06-17 19:29:00,870 1552 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-06-17 19:29:00,885 1552 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-06-17 19:29:00,901 1552 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-06-17 19:29:00,901 1552 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-06-17 19:29:00,917 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-06-17 19:29:00,917 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-06-17 19:29:00,933 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-06-17 19:29:00,933 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-06-17 19:29:00,933 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-06-17 19:29:00,947 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-06-17 19:29:00,947 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-06-17 19:29:00,964 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-06-17 19:29:00,979 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-06-17 19:29:00,979 1552 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-06-17 19:29:00,994 1552 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-06-17 19:29:01,013 1552 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-06-17 19:29:01,028 1552 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-06-17 19:29:01,043 1552 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-06-17 19:29:01,043 1552 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-06-17 19:29:01,059 1552 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-06-17 19:29:01,072 1552 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-06-17 19:29:01,072 1552 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-06-17 19:29:01,088 1552 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-06-17 19:29:01,088 1552 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-06-17 19:29:01,104 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-06-17 19:29:01,104 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-06-17 19:29:01,127 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-06-17 19:29:01,135 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-06-17 19:29:01,135 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-06-17 19:29:01,154 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-06-17 19:29:01,154 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-06-17 19:29:01,166 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2024-06-17 19:29:01,166 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2024-06-17 19:29:01,182 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2024-06-17 19:29:01,182 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2024-06-17 19:29:01,198 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2024-06-17 19:29:01,198 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2024-06-17 19:29:01,215 1552 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2024-06-17 19:29:01,215 1552 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-06-17 19:29:01,215 1552 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-06-17 19:29:01,233 1552 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-06-17 19:29:01,244 1552 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-06-17 19:29:01,244 1552 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-06-17 19:29:01,262 1552 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-06-17 19:29:01,262 1552 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-06-17 19:29:01,279 1552 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-06-17 19:29:01,292 1552 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-06-17 19:29:01,307 1552 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2024-06-17 19:29:01,307 1552 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2024-06-17 19:29:01,324 1552 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2024-06-17 19:29:01,324 1552 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2024-06-17 19:29:01,340 1552 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2024-06-17 19:29:01,354 1552 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2024-06-17 19:29:01,354 1552 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2024-06-17 19:29:01,369 1552 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-06-17 19:29:01,369 1552 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-06-17 19:29:01,386 1552 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-06-17 19:29:01,386 1552 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-06-17 19:29:01,400 1552 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-06-17 19:29:01,400 1552 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-06-17 19:29:01,417 1552 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-06-17 19:29:01,417 1552 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-06-17 19:29:01,432 1552 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-06-17 19:29:01,432 1552 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-06-17 19:29:01,448 1552 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-06-17 19:29:01,448 1552 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-06-17 19:29:01,463 1552 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-06-17 19:29:01,463 1552 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-06-17 19:29:01,478 1552 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-06-17 19:29:01,478 1552 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-06-17 19:29:01,495 1552 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-06-17 19:29:01,495 1552 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-06-17 19:29:01,511 1552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-06-17 19:29:01,511 1552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-06-17 19:29:01,525 1552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-06-17 19:29:01,541 1552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-06-17 19:29:01,541 1552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-06-17 19:29:01,557 1552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-06-17 19:29:01,557 1552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-06-17 19:29:01,574 1552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-06-17 19:29:01,574 1552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-06-17 19:29:01,590 1552 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-06-17 19:29:01,605 1552 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-06-17 19:29:01,605 1552 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-06-17 19:29:01,619 1552 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-06-17 19:29:01,637 1552 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-06-17 19:29:01,637 1552 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-06-17 19:29:01,651 1552 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-06-17 19:29:01,651 1552 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-06-17 19:29:01,666 1552 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-06-17 19:29:01,666 1552 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-06-17 19:29:01,682 1552 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-06-17 19:29:01,697 1552 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-06-17 19:29:01,697 1552 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-06-17 19:29:01,714 1552 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-06-17 19:29:01,714 1552 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-06-17 19:29:01,730 1552 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-06-17 19:29:01,730 1552 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-06-17 19:29:01,745 1552 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-06-17 19:29:01,760 1552 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-06-17 19:29:01,777 1552 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-06-17 19:29:01,978 1552 [DEBUG] - ---------------------------Script Execution---------------------------
2024-06-17 19:29:02,041 1552 [DEBUG] - Running 'ChocolateyScriptRunner' for zabbix-agent v6.4.16 with packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\zabbix-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-06-17 19:29:02,152 1552 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1'
2024-06-17 19:29:05,463 1552 [INFO ] - System.Management.ManagementBaseObject
2024-06-17 19:29:05,542 1552 [INFO ] - System.Management.ManagementBaseObject
2024-06-17 19:29:05,592 1552 [ERROR] - Cannot remove item C:\Program Files\Zabbix Agent\zabbix_agentd.exe: Access to the path 'zabbix_agentd.exe' is denied.
2024-06-17 19:29:05,604 1552 [ERROR] - Directory C:\Program Files\Zabbix Agent cannot be removed because it is not empty.
2024-06-17 19:29:05,684 1552 [DEBUG] - ----------------------------------------------------------------------
2024-06-17 19:29:05,713 1552 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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'.
2024-06-17 19:29:05,730 1552 [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.
2024-06-17 19:29:05,791 1552 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2024-06-17 19:29:05,824 1552 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-06-17 19:29:06,012 1552 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-06-17 19:29:06,041 1552 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent".
2024-06-17 19:29:06,090 1552 [DEBUG] - Ensuring removal of installation files.
2024-06-17 19:29:06,135 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg'
with checksum '272F20B8B73506D35AA44A1EC441E885'
2024-06-17 19:29:06,135 1552 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg".
2024-06-17 19:29:06,150 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec'
with checksum 'EB71630E30808FFE26CF1CE66DED1E06'
2024-06-17 19:29:06,150 1552 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec".
2024-06-17 19:29:06,166 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-6.4.16-windows-amd64-openssl.zip.txt'
with checksum '737AFF6A8E6B7AB9E25A3CDB462BB222'
2024-06-17 19:29:06,182 1552 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-6.4.16-windows-amd64-openssl.zip.txt".
2024-06-17 19:29:06,182 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt'
with checksum '82B4494D3EFC80FBF5EA0B125B93B37D'
2024-06-17 19:29:06,198 1552 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt".
2024-06-17 19:29:06,198 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt'
with checksum '37C91213D3126DFD2F71C71737B9DFF0'
2024-06-17 19:29:06,213 1552 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt".
2024-06-17 19:29:06,230 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
with checksum '7B4AE6A284D54D1115ACAA9058A1CD09'
2024-06-17 19:29:06,230 1552 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1".
2024-06-17 19:29:06,246 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1'
with checksum '1EF7B5D5AA4FC966D564939253252F18'
2024-06-17 19:29:06,259 1552 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1".
2024-06-17 19:29:06,291 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-amd64-openssl.zip'
with checksum '1DBBD70E1B7E2D156DAA58FA7ECA0CCE'
2024-06-17 19:29:06,291 1552 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-amd64-openssl.zip".
2024-06-17 19:29:06,323 1552 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-i386-openssl.zip'
with checksum '337810C38E34E722FC1854C9450689D4'
2024-06-17 19:29:06,323 1552 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.16-windows-i386-openssl.zip".
2024-06-17 19:29:06,341 1552 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\zabbix-agent".
2024-06-17 19:29:06,354 1552 [INFO ] - zabbix-agent has been successfully uninstalled.
2024-06-17 19:29:06,354 1552 [DEBUG] - Removing nupkg if it still exists.
2024-06-17 19:29:06,372 1552 [DEBUG] - Ensuring removal of installation files.
2024-06-17 19:29:06,447 1552 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-06-17 19:29:06,481 1552 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-06-17 19:29:06,494 1552 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment