|
2024-09-23 13:23:27,298 2112 [DEBUG] - XmlConfiguration is now operational
|
|
2024-09-23 13:23:27,487 2112 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-09-23 13:23:27,487 2112 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-09-23 13:23:27,501 2112 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-09-23 13:23:27,501 2112 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-09-23 13:23:27,501 2112 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-09-23 13:23:27,519 2112 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2024-09-23 13:23:27,519 2112 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-09-23 13:23:27,533 2112 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-09-23 13:23:27,533 2112 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-09-23 13:23:27,533 2112 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-09-23 13:23:27,549 2112 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-09-23 13:23:28,626 2112 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-23 13:23:28,626 2112 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-23 13:23:28,642 2112 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-23 13:23:28,642 2112 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-23 13:23:28,642 2112 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-23 13:23:28,658 2112 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-23 13:23:28,658 2112 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-23 13:23:28,658 2112 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-23 13:23:28,673 2112 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-23 13:23:28,673 2112 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-23 13:23:28,720 2112 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2024-09-23 13:23:28,720 2112 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2024-09-23 13:23:28,720 2112 [DEBUG] - Registering new command 'rule' in assembly 'choco'
|
|
2024-09-23 13:23:28,736 2112 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2024-09-23 13:23:28,754 2112 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2024-09-23 13:23:28,754 2112 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2024-09-23 13:23:28,766 2112 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2024-09-23 13:23:28,766 2112 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2024-09-23 13:23:28,766 2112 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2024-09-23 13:23:28,783 2112 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2024-09-23 13:23:28,783 2112 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2024-09-23 13:23:28,798 2112 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2024-09-23 13:23:28,798 2112 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2024-09-23 13:23:28,798 2112 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2024-09-23 13:23:28,813 2112 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2024-09-23 13:23:28,813 2112 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2024-09-23 13:23:28,813 2112 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2024-09-23 13:23:28,829 2112 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2024-09-23 13:23:28,829 2112 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2024-09-23 13:23:28,844 2112 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2024-09-23 13:23:28,844 2112 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2024-09-23 13:23:29,173 2112 [INFO ] - ============================================================
|
|
2024-09-23 13:23:29,658 2112 [INFO ] - Chocolatey v2.3.0
|
|
2024-09-23 13:23:29,689 2112 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2024-09-23 13:23:29,704 2112 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2024-09-23 13:23:29,720 2112 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2024-09-23 13:23:29,751 2112 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install zabbix-agent --version 5.0.44 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-09-23 13:23:29,751 2112 [DEBUG] - Received arguments: install zabbix-agent --version 5.0.44 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-09-23 13:23:29,955 2112 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2024-09-23 13:23:30,016 2112 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2024-09-23 13:23:30,047 2112 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2024-09-23 13:23:30,313 2112 [DEBUG] - Performing validation checks.
|
|
2024-09-23 13:23:30,328 2112 [DEBUG] - Global Configuration Validation Checks:
|
|
2024-09-23 13:23:30,345 2112 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2024-09-23 13:23:30,361 2112 [DEBUG] - System State Validation Checks:
|
|
2024-09-23 13:23:30,376 2112 [DEBUG] - Reboot Requirement Checks:
|
|
2024-09-23 13:23:30,392 2112 [DEBUG] - - Pending Computer Rename = Checked
|
|
2024-09-23 13:23:30,392 2112 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2024-09-23 13:23:30,409 2112 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2024-09-23 13:23:30,409 2112 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2024-09-23 13:23:30,424 2112 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2024-09-23 13:23:30,424 2112 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2024-09-23 13:23:30,454 2112 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2024-09-23 13:23:30,454 2112 [DEBUG] - - Elevated State = Checked
|
|
2024-09-23 13:23:30,488 2112 [DEBUG] - - Folder Exists = Checked
|
|
2024-09-23 13:23:30,501 2112 [DEBUG] - - Folder lockdown = Checked
|
|
2024-09-23 13:23:30,517 2112 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2024-09-23 13:23:30,578 2112 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2024-09-23 13:23:30,578 2112 [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-09-23 13:23:30,642 2112 [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='5.0.44'|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-RET2T94VFEE'|
|
|
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-09-23 13:23:30,658 2112 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2024-09-23 13:23:30,688 2112 [INFO ] - Installing the following packages:
|
|
2024-09-23 13:23:30,688 2112 [INFO ] - zabbix-agent
|
|
2024-09-23 13:23:30,705 2112 [INFO ] - By installing, you accept licenses for the packages.
|
|
2024-09-23 13:23:30,721 2112 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2024-09-23 13:23:30,736 2112 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2024-09-23 13:23:30,736 2112 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-09-23 13:23:30,752 2112 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-09-23 13:23:30,752 2112 [DEBUG] - * 'ChocolateyLastPathUpdate'='133715691042818603' ('User')
|
|
2024-09-23 13:23:30,767 2112 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2024-09-23 13:23:30,767 2112 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2024-09-23 13:23:30,861 2112 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2024-09-23 13:23:30,861 2112 [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-09-23 13:23:30,877 2112 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2024-09-23 13:23:30,877 2112 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2024-09-23 13:23:30,892 2112 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2024-09-23 13:23:30,892 2112 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-09-23 13:23:30,908 2112 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-09-23 13:23:30,908 2112 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2024-09-23 13:23:30,908 2112 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2024-09-23 13:23:30,923 2112 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
|
|
2024-09-23 13:23:30,940 2112 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2024-09-23 13:23:30,940 2112 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2024-09-23 13:23:30,955 2112 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2024-09-23 13:23:30,955 2112 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2024-09-23 13:23:31,673 2112 [DEBUG] - Running list with the following filter = ''
|
|
2024-09-23 13:23:31,689 2112 [DEBUG] - --- Start of List ---
|
|
2024-09-23 13:23:31,752 2112 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2024-09-23 13:23:32,361 2112 [DEBUG] - chocolatey 2.3.0
|
|
2024-09-23 13:23:32,392 2112 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2024-09-23 13:23:32,408 2112 [DEBUG] - KB2919355 1.0.20160915
|
|
2024-09-23 13:23:32,408 2112 [DEBUG] - KB2919442 1.0.20160915
|
|
2024-09-23 13:23:32,423 2112 [DEBUG] - KB2999226 1.0.20181019
|
|
2024-09-23 13:23:32,474 2112 [DEBUG] - KB3035131 1.0.3
|
|
2024-09-23 13:23:32,485 2112 [DEBUG] - KB3118401 1.0.5
|
|
2024-09-23 13:23:32,501 2112 [DEBUG] - virtualbox-guest-additions-guest.install 7.1.0
|
|
2024-09-23 13:23:32,501 2112 [DEBUG] - --- End of List ---
|
|
2024-09-23 13:23:32,533 2112 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2024-09-23 13:23:33,454 2112 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2024-09-23 13:23:34,188 2112 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='5.0.44')
|
|
2024-09-23 13:23:34,282 2112 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='5.0.44') 81ms
|
|
2024-09-23 13:23:34,469 2112 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2024-09-23 13:23:35,221 2112 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2024-09-23 13:23:35,236 2112 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='5.0.44')
|
|
2024-09-23 13:23:35,532 2112 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2024-09-23 13:23:35,563 2112 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2024-09-23 13:23:35,627 2112 [DEBUG] - Attempting to delete file "".
|
|
2024-09-23 13:23:35,642 2112 [INFO ] - Downloading package from source 'https://community.chocolatey.org/api/v2/'
|
|
2024-09-23 13:23:35,657 2112 [DEBUG] - Package download location 'https://community.chocolatey.org/api/v2/package/zabbix-agent/5.0.44'
|
|
2024-09-23 13:23:35,704 2112 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/zabbix-agent/5.0.44
|
|
2024-09-23 13:23:36,126 2112 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/zabbix-agent/5.0.44 414ms
|
|
2024-09-23 13:23:36,190 2112 [INFO ] - [NuGet] Acquiring lock for the installation of zabbix-agent 5.0.44
|
|
2024-09-23 13:23:36,282 2112 [INFO ] - [NuGet] Acquired lock for the installation of zabbix-agent 5.0.44
|
|
2024-09-23 13:23:38,642 2112 [INFO ] - [NuGet] Installed zabbix-agent 5.0.44 from https://community.chocolatey.org/api/v2/ with content hash KSA9JI88qgI8YNOqB3ATVgojJlIXpFWVd4u+FKRbIWvpHCrfts8w0+8Qnhy561amcuT5YOpU0SJdpwDuENZvBQ==.
|
|
2024-09-23 13:23:38,673 2112 [DEBUG] - Skipping package hash validation as feature 'usePackageHashValidation' is not enabled.
|
|
2024-09-23 13:23:38,736 2112 [INFO ] - [NuGet] Adding package 'zabbix-agent.5.0.44' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-09-23 13:23:38,939 2112 [INFO ] - [NuGet] Added package 'zabbix-agent.5.0.44' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-09-23 13:23:38,954 2112 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/5.0.44\zabbix-agent.5.0.44.nupkg".
|
|
2024-09-23 13:23:38,970 2112 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/5.0.44\.nupkg.metadata".
|
|
2024-09-23 13:23:38,987 2112 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/5.0.44\zabbix-agent.5.0.44.nupkg.sha512".
|
|
2024-09-23 13:23:38,987 2112 [INFO ] -
|
|
zabbix-agent v5.0.44 (forced)
|
|
2024-09-23 13:23:39,094 2112 [INFO ] - zabbix-agent package files install completed. Performing other installation steps.
|
|
2024-09-23 13:23:39,188 2112 [DEBUG] - Setting installer args for zabbix-agent
|
|
2024-09-23 13:23:39,204 2112 [DEBUG] - Setting package parameters for zabbix-agent
|
|
2024-09-23 13:23:39,204 2112 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1':
|
|
2024-09-23 13:23:39,236 2112 [DEBUG] - $ErrorActionPreference = 'Stop';
|
|
$version = '5.0.44'
|
|
$title = 'Zabbix Agent'
|
|
|
|
$configDir = Join-Path $env:PROGRAMDATA 'zabbix'
|
|
$zabbixConf = Join-Path $configDir 'zabbix_agentd.conf'
|
|
|
|
$installDir = Join-Path $env:PROGRAMFILES $title
|
|
$zabbixAgentd = Join-Path $installDir 'zabbix_agentd.exe'
|
|
|
|
$tempDir = Join-Path $env:TEMP 'chocolatey\zabbix'
|
|
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
|
$binDir = Join-Path $tempDir 'bin'
|
|
$binFiles = @('zabbix_agentd.exe', 'zabbix_get.exe', 'zabbix_sender.exe')
|
|
$sampleConfig = Join-Path $tempDir 'conf\zabbix_agentd.conf'
|
|
|
|
$service = Get-WmiObject -Class Win32_Service -Filter "Name=`'$title`'"
|
|
|
|
$PackageArgs = @{
|
|
PackageName = $env:ChocolateyPackageName
|
|
unzipLocation = $tempDir
|
|
file = "$toolsDir\zabbix_agent-5.0.44-windows-i386-openssl.zip"
|
|
file64 = "$toolsDir\zabbix_agent-5.0.44-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-09-23 13:23:39,282 2112 [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-09-23 13:23:39,313 2112 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-09-23 13:23:40,516 2112 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.5830' and CLR Version is '4.0.30319.42000'.
|
|
2024-09-23 13:23:41,454 2112 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
|
|
2024-09-23 13:23:41,485 2112 [DEBUG] - Returning loaded assembly type for 'Chocolatey.PowerShell'
|
|
2024-09-23 13:23:41,502 2112 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
|
|
2024-09-23 13:23:41,517 2112 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-09-23 13:23:41,517 2112 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
|
|
2024-09-23 13:23:41,532 2112 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
|
|
2024-09-23 13:23:41,532 2112 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
|
|
2024-09-23 13:23:41,548 2112 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-09-23 13:23:41,548 2112 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
|
|
2024-09-23 13:23:41,625 2112 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
|
|
2024-09-23 13:23:41,673 2112 [DEBUG] - Get-EnvironmentVariable
|
|
2024-09-23 13:23:41,673 2112 [DEBUG] - Get-EnvironmentVariableNames
|
|
2024-09-23 13:23:41,688 2112 [DEBUG] - Install-ChocolateyPath
|
|
2024-09-23 13:23:41,688 2112 [DEBUG] - Set-EnvironmentVariable
|
|
2024-09-23 13:23:41,688 2112 [DEBUG] - Test-ProcessAdminRights
|
|
2024-09-23 13:23:41,704 2112 [DEBUG] - Uninstall-ChocolateyPath
|
|
2024-09-23 13:23:41,704 2112 [DEBUG] - Update-SessionEnvironment
|
|
2024-09-23 13:23:41,736 2112 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-09-23 13:23:41,750 2112 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-09-23 13:23:41,767 2112 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-09-23 13:23:41,785 2112 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-09-23 13:23:41,907 2112 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-09-23 13:23:41,907 2112 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-09-23 13:23:41,924 2112 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-09-23 13:23:41,939 2112 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-09-23 13:23:41,939 2112 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-09-23 13:23:41,939 2112 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-09-23 13:23:41,955 2112 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-09-23 13:23:41,955 2112 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-09-23 13:23:41,971 2112 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-09-23 13:23:41,985 2112 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-09-23 13:23:41,985 2112 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-09-23 13:23:41,985 2112 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-09-23 13:23:42,001 2112 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-09-23 13:23:42,001 2112 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-09-23 13:23:42,017 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-09-23 13:23:42,017 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-09-23 13:23:42,033 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-09-23 13:23:42,033 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-09-23 13:23:42,048 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-09-23 13:23:42,048 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-09-23 13:23:42,063 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-09-23 13:23:42,080 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-09-23 13:23:42,097 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-09-23 13:23:42,097 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-09-23 13:23:42,112 2112 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-09-23 13:23:42,112 2112 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-09-23 13:23:42,126 2112 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-09-23 13:23:42,126 2112 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-09-23 13:23:42,142 2112 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-09-23 13:23:42,142 2112 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-09-23 13:23:42,157 2112 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-09-23 13:23:42,157 2112 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-09-23 13:23:42,172 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-09-23 13:23:42,172 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-09-23 13:23:42,188 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-09-23 13:23:42,205 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-09-23 13:23:42,205 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-09-23 13:23:42,219 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-09-23 13:23:42,219 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-09-23 13:23:42,235 2112 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-09-23 13:23:42,250 2112 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-09-23 13:23:42,250 2112 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-09-23 13:23:42,267 2112 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-09-23 13:23:42,267 2112 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-09-23 13:23:42,286 2112 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-09-23 13:23:42,298 2112 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-09-23 13:23:42,298 2112 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-09-23 13:23:42,314 2112 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-09-23 13:23:42,361 2112 [DEBUG] - Loading community extensions
|
|
2024-09-23 13:23:42,407 2112 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-09-23 13:23:42,407 2112 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-09-23 13:23:42,595 2112 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-09-23 13:23:42,610 2112 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-09-23 13:23:42,610 2112 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-09-23 13:23:42,626 2112 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-09-23 13:23:42,657 2112 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-09-23 13:23:42,688 2112 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-09-23 13:23:42,688 2112 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-09-23 13:23:42,704 2112 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-09-23 13:23:42,704 2112 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-09-23 13:23:42,720 2112 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-09-23 13:23:42,735 2112 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-09-23 13:23:42,735 2112 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-09-23 13:23:42,751 2112 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-09-23 13:23:42,751 2112 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-09-23 13:23:42,767 2112 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-09-23 13:23:42,767 2112 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-09-23 13:23:42,783 2112 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-09-23 13:23:42,783 2112 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-09-23 13:23:42,798 2112 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-09-23 13:23:42,813 2112 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-09-23 13:23:42,813 2112 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-09-23 13:23:42,828 2112 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-09-23 13:23:42,828 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-09-23 13:23:42,844 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-09-23 13:23:42,844 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-09-23 13:23:42,860 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-09-23 13:23:42,860 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-09-23 13:23:42,876 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-09-23 13:23:42,876 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-09-23 13:23:42,891 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-09-23 13:23:42,891 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-09-23 13:23:42,907 2112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-09-23 13:23:42,907 2112 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-09-23 13:23:42,923 2112 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-09-23 13:23:42,923 2112 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-09-23 13:23:42,939 2112 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-09-23 13:23:42,939 2112 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-09-23 13:23:42,954 2112 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-09-23 13:23:42,954 2112 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-09-23 13:23:42,971 2112 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-09-23 13:23:42,971 2112 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-09-23 13:23:42,986 2112 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-09-23 13:23:42,986 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-09-23 13:23:43,000 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-09-23 13:23:43,000 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-09-23 13:23:43,016 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-09-23 13:23:43,016 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-09-23 13:23:43,033 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-09-23 13:23:43,033 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-09-23 13:23:43,048 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-09-23 13:23:43,048 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-09-23 13:23:43,063 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-09-23 13:23:43,063 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-09-23 13:23:43,081 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-09-23 13:23:43,097 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-09-23 13:23:43,097 2112 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-09-23 13:23:43,110 2112 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-09-23 13:23:43,110 2112 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-09-23 13:23:43,126 2112 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-09-23 13:23:43,126 2112 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-09-23 13:23:43,142 2112 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-09-23 13:23:43,266 2112 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-09-23 13:23:43,282 2112 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-09-23 13:23:43,282 2112 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-09-23 13:23:43,299 2112 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-09-23 13:23:43,299 2112 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
|
|
2024-09-23 13:23:43,313 2112 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-09-23 13:23:43,313 2112 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
|
|
2024-09-23 13:23:43,329 2112 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
|
|
2024-09-23 13:23:43,344 2112 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
|
|
2024-09-23 13:23:43,344 2112 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-09-23 13:23:43,360 2112 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
|
|
2024-09-23 13:23:43,360 2112 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-09-23 13:23:43,381 2112 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-09-23 13:23:43,392 2112 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-09-23 13:23:43,392 2112 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-09-23 13:23:43,409 2112 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-09-23 13:23:43,409 2112 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-09-23 13:23:43,423 2112 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-09-23 13:23:43,438 2112 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-09-23 13:23:43,438 2112 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-09-23 13:23:43,455 2112 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-09-23 13:23:43,455 2112 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-09-23 13:23:43,471 2112 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-09-23 13:23:43,486 2112 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-09-23 13:23:43,486 2112 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-09-23 13:23:43,503 2112 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-09-23 13:23:43,503 2112 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-09-23 13:23:43,517 2112 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-09-23 13:23:43,517 2112 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-09-23 13:23:43,533 2112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-09-23 13:23:43,548 2112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-09-23 13:23:43,548 2112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-09-23 13:23:43,563 2112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-09-23 13:23:43,563 2112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-09-23 13:23:43,580 2112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-09-23 13:23:43,595 2112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-09-23 13:23:43,595 2112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-09-23 13:23:43,611 2112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-09-23 13:23:43,611 2112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-09-23 13:23:43,626 2112 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-09-23 13:23:43,626 2112 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-09-23 13:23:43,644 2112 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-09-23 13:23:43,644 2112 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-09-23 13:23:43,657 2112 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-09-23 13:23:43,657 2112 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-09-23 13:23:43,672 2112 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-09-23 13:23:43,689 2112 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-09-23 13:23:43,689 2112 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-09-23 13:23:43,704 2112 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-09-23 13:23:43,704 2112 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-09-23 13:23:43,720 2112 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-09-23 13:23:43,736 2112 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-09-23 13:23:43,736 2112 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-09-23 13:23:43,752 2112 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-09-23 13:23:43,752 2112 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-09-23 13:23:43,766 2112 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-09-23 13:23:43,766 2112 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-09-23 13:23:43,783 2112 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-09-23 13:23:43,954 2112 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-09-23 13:23:44,000 2112 [DEBUG] - Running 'ChocolateyScriptRunner' for zabbix-agent v5.0.44 with packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\zabbix-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2024-09-23 13:23:44,095 2112 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
|
|
2024-09-23 13:23:49,455 2112 [DEBUG] - Running Get-ChocolateyUnzip -destination 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix' -fileFullPath64 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.0.44-windows-amd64-openssl.zip' -packageName 'zabbix-agent' -fileFullPath 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.0.44-windows-i386-openssl.zip'
|
|
2024-09-23 13:23:49,517 2112 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2024-09-23 13:23:49,642 2112 [INFO ] - Extracting 64-bit C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.0.44-windows-amd64-openssl.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix...
|
|
2024-09-23 13:23:49,735 2112 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2024-09-23 13:23:49,860 2112 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix" -y "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.0.44-windows-amd64-openssl.zip"]
|
|
2024-09-23 13:23:50,610 2112 [INFO ] - VERBOSE:
|
|
2024-09-23 13:23:50,643 2112 [INFO ] - VERBOSE:
|
|
2024-09-23 13:23:50,673 2112 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
|
|
2024-09-23 13:23:50,705 2112 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.0.44-windows-amd64-openssl.zip
|
|
2024-09-23 13:23:50,720 2112 [INFO ] - VERBOSE: 1 file, 3996452 bytes (3903 KiB)
|
|
2024-09-23 13:23:50,751 2112 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2024-09-23 13:23:50,768 2112 [INFO ] - VERBOSE:
|
|
2024-09-23 13:23:50,768 2112 [INFO ] - VERBOSE: --
|
|
2024-09-23 13:23:50,783 2112 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.0.44-windows-amd64-openssl.zip
|
|
2024-09-23 13:23:50,797 2112 [INFO ] - VERBOSE: - bin\zabbix_agentd.exe
|
|
2024-09-23 13:23:50,875 2112 [INFO ] - VERBOSE: - bin\zabbix_get.exe
|
|
2024-09-23 13:23:50,892 2112 [INFO ] - VERBOSE: - bin\zabbix_sender.exe
|
|
2024-09-23 13:23:50,892 2112 [INFO ] - VERBOSE: - conf\zabbix_agentd.conf
|
|
2024-09-23 13:23:50,908 2112 [INFO ] - VERBOSE: Type = zip
|
|
2024-09-23 13:23:50,923 2112 [INFO ] - VERBOSE: Physical Size = 3996452
|
|
2024-09-23 13:23:50,923 2112 [INFO ] - VERBOSE:
|
|
2024-09-23 13:23:50,938 2112 [INFO ] - VERBOSE:
|
|
2024-09-23 13:23:50,954 2112 [INFO ] - VERBOSE: Everything is Ok
|
|
2024-09-23 13:23:50,954 2112 [INFO ] - VERBOSE: Size: 8564881
|
|
2024-09-23 13:23:50,971 2112 [INFO ] - VERBOSE: Files: 4
|
|
2024-09-23 13:23:50,971 2112 [INFO ] - VERBOSE: Compressed: 3996452
|
|
2024-09-23 13:23:51,157 2112 [DEBUG] - $exitCode was passed null
|
|
2024-09-23 13:23:51,176 2112 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix" -y "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.0.44-windows-amd64-openssl.zip"] exited with '0'.
|
|
2024-09-23 13:23:51,266 2112 [DEBUG] - 7z exit code: 0
|
|
2024-09-23 13:23:51,345 2112 [INFO ] - C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix
|
|
2024-09-23 13:23:51,361 2112 [INFO ] - C:\ProgramData\zabbix
|
|
2024-09-23 13:23:51,377 2112 [INFO ] - C:\Program Files\Zabbix Agent
|
|
2024-09-23 13:23:51,642 2112 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -statements '--config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install' -exeToRun 'C:\Program Files\Zabbix Agent\zabbix_agentd.exe'
|
|
2024-09-23 13:23:51,691 2112 [DEBUG] - Running Test-ProcessAdminRights
|
|
2024-09-23 13:23:51,704 2112 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2024-09-23 13:23:51,719 2112 [DEBUG] - Finishing 'Test-ProcessAdminRights'
|
|
2024-09-23 13:23:51,782 2112 [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-09-23 13:23:52,063 2112 [ERROR] - zabbix_agentd.exe [4440]: service [Zabbix Agent] installed successfully
|
|
2024-09-23 13:23:52,079 2112 [ERROR] - zabbix_agentd.exe [4440]: event source [Zabbix Agent] installed successfully
|
|
2024-09-23 13:23:52,095 2112 [DEBUG] - Command ["C:\Program Files\Zabbix Agent\zabbix_agentd.exe" --config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install] exited with '0'.
|
|
2024-09-23 13:23:52,157 2112 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2024-09-23 13:23:52,157 2112 [INFO ] - 0
|
|
2024-09-23 13:23:53,612 2112 [DEBUG] - Running Install-ChocolateyPath -Path 'C:\Program Files\Zabbix Agent' -PathType 'Machine'
|
|
2024-09-23 13:23:53,642 2112 [INFO ] - PATH environment variable does not have C:\Program Files\Zabbix Agent in it. Adding...
|
|
2024-09-23 13:23:53,675 2112 [DEBUG] - Registry type for PATH is/will be ExpandString
|
|
2024-09-23 13:23:53,798 2112 [DEBUG] - Finishing 'Install-ChocolateyPath'
|
|
2024-09-23 13:23:53,877 2112 [DEBUG] - ----------------------------------------------------------------------
|
|
2024-09-23 13:23:53,908 2112 [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-09-23 13:23:53,908 2112 [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-09-23 13:23:53,939 2112 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2024-09-23 13:23:54,158 2112 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2024-09-23 13:23:54,189 2112 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
|
|
see the changes (or in powershell/cmd.exe just type `refreshenv`).
|
|
2024-09-23 13:23:54,189 2112 [DEBUG] - The following values have been added/changed (may contain sensitive data):
|
|
2024-09-23 13:23:54,204 2112 [DEBUG] - * ChocolateyLastPathUpdate='133715714336896637' (User)
|
|
2024-09-23 13:23:54,204 2112 [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-09-23 13:23:54,503 2112 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\zabbix-agent'
|
|
2024-09-23 13:23:54,565 2112 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg'
|
|
with checksum 'DD038D53ADAA35B2FBE53C8ECE8EAA68'
|
|
2024-09-23 13:23:54,565 2112 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec'
|
|
with checksum '0DE57C2C634B4BF8F3DEF13D34626D16'
|
|
2024-09-23 13:23:54,581 2112 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-5.0.44-windows-amd64-openssl.zip.txt'
|
|
with checksum 'C2F6C8C445F13624D85250D0ACBBB898'
|
|
2024-09-23 13:23:54,595 2112 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt'
|
|
with checksum '82B4494D3EFC80FBF5EA0B125B93B37D'
|
|
2024-09-23 13:23:54,595 2112 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt'
|
|
with checksum 'DD59AC1680171F07E57EFE16D5A09D65'
|
|
2024-09-23 13:23:54,613 2112 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
|
|
with checksum 'B4D84620B02CEF7E1763F5B0807A4B05'
|
|
2024-09-23 13:23:54,613 2112 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1'
|
|
with checksum '1EF7B5D5AA4FC966D564939253252F18'
|
|
2024-09-23 13:23:54,658 2112 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.0.44-windows-amd64-openssl.zip'
|
|
with checksum 'A0BEED71500FB0F1290C1D70F0F1F8A2'
|
|
2024-09-23 13:23:54,690 2112 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.0.44-windows-i386-openssl.zip'
|
|
with checksum 'AAD4FEEC59B78AC2F7AC3D3C0CA2D3F0'
|
|
2024-09-23 13:23:54,768 2112 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.0.44".
|
|
2024-09-23 13:23:54,830 2112 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.0.44\.files'
|
|
2024-09-23 13:23:54,845 2112 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.0.44\.extra".
|
|
2024-09-23 13:23:54,845 2112 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.0.44\.version".
|
|
2024-09-23 13:23:54,861 2112 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.0.44\.sxs".
|
|
2024-09-23 13:23:54,861 2112 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.0.44\.pin".
|
|
2024-09-23 13:23:54,908 2112 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2024-09-23 13:23:54,908 2112 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\.chocolateyPending".
|
|
2024-09-23 13:23:54,924 2112 [INFO ] - The install of zabbix-agent was successful.
|
|
2024-09-23 13:23:54,939 2112 [INFO ] - Deployed to 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix'
|
|
2024-09-23 13:23:54,985 2112 [WARN ] -
|
|
Chocolatey installed 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2024-09-23 13:23:55,001 2112 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2024-09-23 13:23:55,017 2112 [DEBUG] - Exiting with 0
|