|
2023-10-18 12:18:44,019 2200 [DEBUG] - XmlConfiguration is now operational
|
|
2023-10-18 12:18:44,129 2200 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-10-18 12:18:44,144 2200 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-10-18 12:18:44,144 2200 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-10-18 12:18:44,144 2200 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-10-18 12:18:44,144 2200 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-10-18 12:18:44,159 2200 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2023-10-18 12:18:44,159 2200 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-10-18 12:18:44,176 2200 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-10-18 12:18:44,176 2200 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-10-18 12:18:44,176 2200 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-10-18 12:18:44,191 2200 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-10-18 12:18:44,769 2200 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 12:18:44,769 2200 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 12:18:44,784 2200 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 12:18:44,784 2200 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 12:18:44,784 2200 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 12:18:44,784 2200 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 12:18:44,800 2200 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 12:18:44,800 2200 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 12:18:44,800 2200 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 12:18:44,817 2200 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-18 12:18:44,832 2200 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2023-10-18 12:18:44,846 2200 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-10-18 12:18:44,846 2200 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2023-10-18 12:18:44,846 2200 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-10-18 12:18:44,863 2200 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-10-18 12:18:44,863 2200 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-10-18 12:18:44,863 2200 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-10-18 12:18:44,863 2200 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-10-18 12:18:44,879 2200 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-10-18 12:18:44,879 2200 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-10-18 12:18:44,879 2200 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-10-18 12:18:44,895 2200 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-10-18 12:18:44,895 2200 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-10-18 12:18:44,895 2200 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-10-18 12:18:44,909 2200 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2023-10-18 12:18:44,909 2200 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-10-18 12:18:44,909 2200 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-10-18 12:18:44,925 2200 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2023-10-18 12:18:44,925 2200 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-10-18 12:18:44,925 2200 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-10-18 12:18:45,128 2200 [INFO ] - ============================================================
|
|
2023-10-18 12:18:45,393 2200 [INFO ] - Chocolatey v2.2.2
|
|
2023-10-18 12:18:45,426 2200 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-10-18 12:18:45,426 2200 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-10-18 12:18:45,443 2200 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-10-18 12:18:45,456 2200 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install zabbix-agent --version 5.0.38 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-10-18 12:18:45,472 2200 [DEBUG] - Received arguments: install zabbix-agent --version 5.0.38 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-10-18 12:18:45,582 2200 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-10-18 12:18:45,612 2200 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-10-18 12:18:45,628 2200 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-10-18 12:18:45,784 2200 [DEBUG] - Performing validation checks.
|
|
2023-10-18 12:18:45,800 2200 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-10-18 12:18:45,800 2200 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-10-18 12:18:45,816 2200 [DEBUG] - System State Validation Checks:
|
|
2023-10-18 12:18:45,831 2200 [DEBUG] - Reboot Requirement Checks:
|
|
2023-10-18 12:18:45,831 2200 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-10-18 12:18:45,847 2200 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-10-18 12:18:45,847 2200 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-10-18 12:18:45,863 2200 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-10-18 12:18:45,863 2200 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-10-18 12:18:45,878 2200 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-10-18 12:18:45,893 2200 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2023-10-18 12:18:45,893 2200 [DEBUG] - - Elevated State = Checked
|
|
2023-10-18 12:18:45,909 2200 [DEBUG] - - Folder Exists = Checked
|
|
2023-10-18 12:18:45,925 2200 [DEBUG] - - Folder lockdown = Checked
|
|
2023-10-18 12:18:45,925 2200 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2023-10-18 12:18:45,973 2200 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-10-18 12:18:45,973 2200 [DEBUG] -
|
|
NOTE: Hiding sensitive configuration data! Please double and triple
|
|
check to be sure no sensitive data is shown, especially if copying
|
|
output to a gist for review.
|
|
2023-10-18 12:18:46,020 2200 [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'|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.38'|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 2016'|
|
|
Information.ChocolateyVersion='2.2.2.0'|
|
|
Information.ChocolateyProductVersion='2.2.2'|
|
|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
|
|
|
|
Information.Is64BitOperatingSystem='True'|
|
|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
|
|
Information.UserName='vagrant'|
|
|
Information.UserDomainName='WIN-1LME9BEVOOH'|
|
|
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'|
|
|
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'|
|
|
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'|
|
|
2023-10-18 12:18:46,034 2200 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2023-10-18 12:18:46,052 2200 [INFO ] - Installing the following packages:
|
|
2023-10-18 12:18:46,052 2200 [INFO ] - zabbix-agent
|
|
2023-10-18 12:18:46,067 2200 [INFO ] - By installing, you accept licenses for the packages.
|
|
2023-10-18 12:18:46,097 2200 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-10-18 12:18:46,097 2200 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-10-18 12:18:46,113 2200 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-10-18 12:18:46,113 2200 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-10-18 12:18:46,129 2200 [DEBUG] - * 'ChocolateyLastPathUpdate'='133421044431182884' ('User')
|
|
2023-10-18 12:18:46,129 2200 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-10-18 12:18:46,145 2200 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-10-18 12:18:46,145 2200 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-10-18 12:18:46,160 2200 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
|
|
2023-10-18 12:18:46,160 2200 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-10-18 12:18:46,160 2200 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-10-18 12:18:46,177 2200 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-10-18 12:18:46,177 2200 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-10-18 12:18:46,192 2200 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-10-18 12:18:46,192 2200 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-10-18 12:18:46,206 2200 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-10-18 12:18:46,206 2200 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
|
|
2023-10-18 12:18:46,222 2200 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-10-18 12:18:46,222 2200 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
|
|
2023-10-18 12:18:46,239 2200 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
|
|
2023-10-18 12:18:46,239 2200 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-10-18 12:18:46,706 2200 [DEBUG] - Running list with the following filter = ''
|
|
2023-10-18 12:18:46,722 2200 [DEBUG] - --- Start of List ---
|
|
2023-10-18 12:18:46,753 2200 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2023-10-18 12:18:47,097 2200 [DEBUG] - chocolatey 2.2.2
|
|
2023-10-18 12:18:47,112 2200 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-10-18 12:18:47,128 2200 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-10-18 12:18:47,143 2200 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-10-18 12:18:47,143 2200 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-10-18 12:18:47,160 2200 [DEBUG] - KB3035131 1.0.3
|
|
2023-10-18 12:18:47,175 2200 [DEBUG] - KB3118401 1.0.5
|
|
2023-10-18 12:18:47,175 2200 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-10-18 12:18:47,191 2200 [DEBUG] - --- End of List ---
|
|
2023-10-18 12:18:47,207 2200 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2023-10-18 12:18:47,754 2200 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2023-10-18 12:18:48,315 2200 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='5.0.38')
|
|
2023-10-18 12:18:48,565 2200 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='5.0.38') 254ms
|
|
2023-10-18 12:18:48,691 2200 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2023-10-18 12:18:49,223 2200 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2023-10-18 12:18:49,238 2200 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='5.0.38')
|
|
2023-10-18 12:18:49,393 2200 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2023-10-18 12:18:49,410 2200 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2023-10-18 12:18:49,471 2200 [DEBUG] - Attempting to delete file "".
|
|
2023-10-18 12:18:49,503 2200 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/zabbix-agent/5.0.38
|
|
2023-10-18 12:18:50,222 2200 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/zabbix-agent/5.0.38 711ms
|
|
2023-10-18 12:18:50,284 2200 [INFO ] - [NuGet] Acquiring lock for the installation of zabbix-agent 5.0.38
|
|
2023-10-18 12:18:50,394 2200 [INFO ] - [NuGet] Acquired lock for the installation of zabbix-agent 5.0.38
|
|
2023-10-18 12:18:51,893 2200 [INFO ] - [NuGet] Installed zabbix-agent 5.0.38 from https://community.chocolatey.org/api/v2/ with content hash KbWLz71RePobm3IcDbFaGn/HwYJq/3rtU7axOWyzZAIZWw8N87kdV3TIsp8ouM9oM/89oUys3ulGBM0EERj2Ag==.
|
|
2023-10-18 12:18:51,940 2200 [INFO ] - [NuGet] Adding package 'zabbix-agent.5.0.38' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-10-18 12:18:52,128 2200 [INFO ] - [NuGet] Added package 'zabbix-agent.5.0.38' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-10-18 12:18:52,128 2200 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/5.0.38\zabbix-agent.5.0.38.nupkg".
|
|
2023-10-18 12:18:52,143 2200 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/5.0.38\.nupkg.metadata".
|
|
2023-10-18 12:18:52,143 2200 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/5.0.38\zabbix-agent.5.0.38.nupkg.sha512".
|
|
2023-10-18 12:18:52,160 2200 [INFO ] -
|
|
zabbix-agent v5.0.38 (forced)
|
|
2023-10-18 12:18:52,241 2200 [INFO ] - zabbix-agent package files install completed. Performing other installation steps.
|
|
2023-10-18 12:18:52,284 2200 [DEBUG] - Setting installer args for zabbix-agent
|
|
2023-10-18 12:18:52,300 2200 [DEBUG] - Setting package parameters for zabbix-agent
|
|
2023-10-18 12:18:52,300 2200 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1':
|
|
2023-10-18 12:18:52,332 2200 [DEBUG] - $ErrorActionPreference = 'Stop';
|
|
$version = '5.0.38'
|
|
$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.38-windows-i386-openssl.zip"
|
|
file64 = "$toolsDir\zabbix_agent-5.0.38-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
|
|
}
|
|
|
|
2023-10-18 12:18:52,363 2200 [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']
|
|
2023-10-18 12:18:52,378 2200 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-10-18 12:18:53,284 2200 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-10-18 12:18:53,738 2200 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-18 12:18:53,738 2200 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-18 12:18:53,754 2200 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-18 12:18:53,754 2200 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-18 12:18:53,769 2200 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-18 12:18:53,769 2200 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-18 12:18:53,784 2200 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-18 12:18:53,784 2200 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-18 12:18:53,800 2200 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-18 12:18:53,800 2200 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-18 12:18:53,816 2200 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-18 12:18:53,816 2200 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-18 12:18:53,832 2200 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-18 12:18:53,832 2200 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-18 12:18:53,847 2200 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-18 12:18:53,847 2200 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-18 12:18:53,847 2200 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-18 12:18:53,862 2200 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-18 12:18:53,862 2200 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-18 12:18:53,878 2200 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-18 12:18:53,878 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 12:18:53,895 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-18 12:18:53,895 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-18 12:18:53,910 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-18 12:18:53,910 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-18 12:18:53,926 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-18 12:18:53,926 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-18 12:18:53,940 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-18 12:18:53,940 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-18 12:18:53,956 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-18 12:18:53,956 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-18 12:18:53,972 2200 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-18 12:18:53,972 2200 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-18 12:18:53,988 2200 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-18 12:18:53,988 2200 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-18 12:18:54,003 2200 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-18 12:18:54,003 2200 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-18 12:18:54,018 2200 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 12:18:54,018 2200 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-18 12:18:54,034 2200 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-18 12:18:54,034 2200 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-18 12:18:54,050 2200 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-18 12:18:54,050 2200 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-18 12:18:54,066 2200 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-18 12:18:54,066 2200 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-18 12:18:54,081 2200 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-18 12:18:54,081 2200 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-18 12:18:54,097 2200 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-18 12:18:54,097 2200 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-18 12:18:54,112 2200 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-18 12:18:54,112 2200 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-18 12:18:54,144 2200 [DEBUG] - Loading community extensions
|
|
2023-10-18 12:18:54,179 2200 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-10-18 12:18:54,191 2200 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-10-18 12:18:54,300 2200 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-18 12:18:54,300 2200 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-18 12:18:54,316 2200 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-18 12:18:54,316 2200 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-18 12:18:54,331 2200 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-18 12:18:54,331 2200 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-18 12:18:54,347 2200 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-18 12:18:54,347 2200 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-18 12:18:54,364 2200 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-18 12:18:54,364 2200 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-18 12:18:54,379 2200 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-18 12:18:54,379 2200 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-18 12:18:54,379 2200 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-18 12:18:54,394 2200 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-18 12:18:54,409 2200 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-18 12:18:54,409 2200 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-18 12:18:54,409 2200 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-18 12:18:54,425 2200 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-18 12:18:54,425 2200 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-18 12:18:54,442 2200 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-18 12:18:54,442 2200 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-18 12:18:54,456 2200 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-18 12:18:54,456 2200 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-18 12:18:54,472 2200 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-18 12:18:54,472 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 12:18:54,488 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-18 12:18:54,488 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-18 12:18:54,504 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-18 12:18:54,504 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-18 12:18:54,519 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-18 12:18:54,519 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-18 12:18:54,536 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-18 12:18:54,536 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-18 12:18:54,550 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-18 12:18:54,550 2200 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-18 12:18:54,550 2200 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-18 12:18:54,566 2200 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-18 12:18:54,566 2200 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-18 12:18:54,582 2200 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-18 12:18:54,582 2200 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-18 12:18:54,597 2200 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-18 12:18:54,597 2200 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 12:18:54,617 2200 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-18 12:18:54,617 2200 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-18 12:18:54,628 2200 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-18 12:18:54,628 2200 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-18 12:18:54,643 2200 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-18 12:18:54,643 2200 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-18 12:18:54,659 2200 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-18 12:18:54,659 2200 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-18 12:18:54,676 2200 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-18 12:18:54,676 2200 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-18 12:18:54,691 2200 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-18 12:18:54,691 2200 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-18 12:18:54,691 2200 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-18 12:18:54,707 2200 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-18 12:18:54,723 2200 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-18 12:18:54,723 2200 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-10-18 12:18:54,738 2200 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-10-18 12:18:54,738 2200 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-10-18 12:18:54,754 2200 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-10-18 12:18:54,754 2200 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-10-18 12:18:54,754 2200 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-10-18 12:18:54,769 2200 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-10-18 12:18:54,769 2200 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-10-18 12:18:54,785 2200 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-10-18 12:18:54,785 2200 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-10-18 12:18:54,802 2200 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-10-18 12:18:54,802 2200 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-18 12:18:54,816 2200 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-10-18 12:18:54,816 2200 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-10-18 12:18:54,832 2200 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-10-18 12:18:54,832 2200 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-10-18 12:18:54,847 2200 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-10-18 12:18:54,847 2200 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-10-18 12:18:54,862 2200 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-10-18 12:18:54,862 2200 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-10-18 12:18:54,879 2200 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 12:18:54,879 2200 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-18 12:18:54,894 2200 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-18 12:18:54,894 2200 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-18 12:18:54,894 2200 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-10-18 12:18:54,910 2200 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-10-18 12:18:54,910 2200 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-18 12:18:54,925 2200 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-18 12:18:54,925 2200 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-10-18 12:18:54,941 2200 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-18 12:18:54,941 2200 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-10-18 12:18:54,957 2200 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-10-18 12:18:54,957 2200 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-18 12:18:54,972 2200 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-10-18 12:18:54,972 2200 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-10-18 12:18:54,972 2200 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-18 12:18:54,994 2200 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-10-18 12:18:55,003 2200 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-18 12:18:55,003 2200 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-10-18 12:18:55,019 2200 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-18 12:18:55,019 2200 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-18 12:18:55,036 2200 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-18 12:18:55,036 2200 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-10-18 12:18:55,050 2200 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-10-18 12:18:55,050 2200 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-10-18 12:18:55,066 2200 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-10-18 12:18:55,066 2200 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-10-18 12:18:55,082 2200 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-10-18 12:18:55,082 2200 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-10-18 12:18:55,082 2200 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-18 12:18:55,097 2200 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-10-18 12:18:55,097 2200 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-10-18 12:18:55,114 2200 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-10-18 12:18:55,206 2200 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-10-18 12:18:55,238 2200 [DEBUG] - Running 'ChocolateyScriptRunner' for zabbix-agent v5.0.38 with packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\zabbix-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-10-18 12:18:55,285 2200 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
|
|
2023-10-18 12:18:57,972 2200 [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.38-windows-amd64-openssl.zip' -packageName 'zabbix-agent' -fileFullPath 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.0.38-windows-i386-openssl.zip'
|
|
2023-10-18 12:18:58,003 2200 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2023-10-18 12:18:58,081 2200 [INFO ] - Extracting 64-bit C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.0.38-windows-amd64-openssl.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix...
|
|
2023-10-18 12:18:58,129 2200 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2023-10-18 12:18:58,206 2200 [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.38-windows-amd64-openssl.zip"]
|
|
2023-10-18 12:18:58,613 2200 [INFO ] - VERBOSE:
|
|
2023-10-18 12:18:58,628 2200 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
|
|
2023-10-18 12:18:58,628 2200 [INFO ] - VERBOSE:
|
|
2023-10-18 12:18:58,645 2200 [INFO ] - VERBOSE: 1 file, 3996541 bytes (3903 KiB)
|
|
2023-10-18 12:18:58,660 2200 [INFO ] - VERBOSE:
|
|
2023-10-18 12:18:58,660 2200 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2023-10-18 12:18:58,675 2200 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.0.38-windows-amd64-openssl.zip
|
|
2023-10-18 12:18:58,675 2200 [INFO ] - VERBOSE: --
|
|
2023-10-18 12:18:58,691 2200 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.0.38-windows-amd64-openssl.zip
|
|
2023-10-18 12:18:58,691 2200 [INFO ] - VERBOSE: Physical Size = 3996541
|
|
2023-10-18 12:18:58,707 2200 [INFO ] - VERBOSE: Type = zip
|
|
2023-10-18 12:18:58,707 2200 [INFO ] - VERBOSE:
|
|
2023-10-18 12:18:58,722 2200 [INFO ] - VERBOSE: - bin\zabbix_agentd.exe
|
|
2023-10-18 12:18:58,769 2200 [INFO ] - VERBOSE: - bin\zabbix_get.exe
|
|
2023-10-18 12:18:58,785 2200 [INFO ] - VERBOSE: - bin\zabbix_sender.exe
|
|
2023-10-18 12:18:58,785 2200 [INFO ] - VERBOSE: - conf\zabbix_agentd.conf
|
|
2023-10-18 12:18:58,802 2200 [INFO ] - VERBOSE: Everything is Ok
|
|
2023-10-18 12:18:58,802 2200 [INFO ] - VERBOSE:
|
|
2023-10-18 12:18:58,816 2200 [INFO ] - VERBOSE: Files: 4
|
|
2023-10-18 12:18:58,832 2200 [INFO ] - VERBOSE: Size: 8564881
|
|
2023-10-18 12:18:58,832 2200 [INFO ] - VERBOSE: Compressed: 3996541
|
|
2023-10-18 12:18:58,956 2200 [DEBUG] - $exitCode was passed null
|
|
2023-10-18 12:18:58,956 2200 [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.38-windows-amd64-openssl.zip"] exited with '0'.
|
|
2023-10-18 12:18:59,020 2200 [DEBUG] - 7z exit code: 0
|
|
2023-10-18 12:18:59,066 2200 [INFO ] - C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix
|
|
2023-10-18 12:18:59,097 2200 [INFO ] - C:\ProgramData\zabbix
|
|
2023-10-18 12:18:59,097 2200 [INFO ] - C:\Program Files\Zabbix Agent
|
|
2023-10-18 12:18:59,238 2200 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -statements '--config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install' -exeToRun 'C:\Program Files\Zabbix Agent\zabbix_agentd.exe'
|
|
2023-10-18 12:18:59,332 2200 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2023-10-18 12:18:59,379 2200 [DEBUG] - Elevating permissions and running ["C:\Program Files\Zabbix Agent\zabbix_agentd.exe" --config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install]. This may take a while, depending on the statements.
|
|
2023-10-18 12:18:59,551 2200 [ERROR] - zabbix_agentd.exe [3040]: service [Zabbix Agent] installed successfully
|
|
2023-10-18 12:18:59,566 2200 [ERROR] - zabbix_agentd.exe [3040]: event source [Zabbix Agent] installed successfully
|
|
2023-10-18 12:18:59,581 2200 [DEBUG] - Command ["C:\Program Files\Zabbix Agent\zabbix_agentd.exe" --config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install] exited with '0'.
|
|
2023-10-18 12:18:59,628 2200 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2023-10-18 12:18:59,628 2200 [INFO ] - 0
|
|
2023-10-18 12:19:00,270 2200 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\Program Files\Zabbix Agent' -pathType 'Machine'
|
|
2023-10-18 12:19:00,348 2200 [DEBUG] - Running Update-SessionEnvironment
|
|
2023-10-18 12:19:00,348 2200 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
|
|
2023-10-18 12:19:01,005 2200 [INFO ] - PATH environment variable does not have C:\Program Files\Zabbix Agent in it. Adding...
|
|
2023-10-18 12:19:01,019 2200 [INFO ] - VERBOSE: Choosing not to expand environment names
|
|
2023-10-18 12:19:01,066 2200 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2023-10-18 12:19:01,191 2200 [DEBUG] - Running Set-EnvironmentVariable -Name 'Path' -Value '%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\Zabbix Agent;' -Scope 'Machine'
|
|
2023-10-18 12:19:01,254 2200 [DEBUG] - Registry type for Path is/will be ExpandString
|
|
2023-10-18 12:19:01,316 2200 [DEBUG] - |
|
using System; |
|
using System.Runtime.InteropServices; |
|
|
|
namespace Win32 |
|
{ |
|
public class NativeMethods |
|
{ |
|
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
|
|
public static extern IntPtr SendMessageTimeout(
|
|
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
|
|
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult); |
|
|
|
} |
|
|
|
} |
|
|
|
2023-10-18 12:19:01,786 2200 [DEBUG] - Running Update-SessionEnvironment
|
|
2023-10-18 12:19:01,801 2200 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
|
|
2023-10-18 12:19:02,019 2200 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-10-18 12:19:02,036 2200 [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'.
|
|
2023-10-18 12:19:02,036 2200 [WARN ] - Only an exit code of non-zero will fail the package by default. Set
|
|
`--failonstderr` if you want error messages to also fail a script. See
|
|
`choco -h` for details.
|
|
2023-10-18 12:19:02,051 2200 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-10-18 12:19:02,161 2200 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-10-18 12:19:02,208 2200 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
|
|
see the changes (or in powershell/cmd.exe just type `refreshenv`).
|
|
2023-10-18 12:19:02,223 2200 [DEBUG] - The following values have been added/changed (may contain sensitive data):
|
|
2023-10-18 12:19:02,223 2200 [DEBUG] - * ChocolateyLastPathUpdate='133421051417233740' (User)
|
|
2023-10-18 12:19:02,239 2200 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\Zabbix Agent;' (Machine)
|
|
2023-10-18 12:19:02,363 2200 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\zabbix-agent'
|
|
2023-10-18 12:19:02,394 2200 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg'
|
|
with checksum '8B8B494C5B993CEF1266D5718963BB7D'
|
|
2023-10-18 12:19:02,394 2200 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec'
|
|
with checksum '6734312273F2E6C24688A45FC8B5909F'
|
|
2023-10-18 12:19:02,394 2200 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-5.0.38-windows-amd64-openssl.zip.txt'
|
|
with checksum 'C2F6C8C445F13624D85250D0ACBBB898'
|
|
2023-10-18 12:19:02,410 2200 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt'
|
|
with checksum '82B4494D3EFC80FBF5EA0B125B93B37D'
|
|
2023-10-18 12:19:02,410 2200 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt'
|
|
with checksum '4750929449096823E4D1A73CE2E4F8A2'
|
|
2023-10-18 12:19:02,428 2200 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
|
|
with checksum '8DC14590D3CAA50371D18221502A8B75'
|
|
2023-10-18 12:19:02,428 2200 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1'
|
|
with checksum '1EF7B5D5AA4FC966D564939253252F18'
|
|
2023-10-18 12:19:02,458 2200 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.0.38-windows-amd64-openssl.zip'
|
|
with checksum '55AA882F2D6D1DE799557ED04DD73303'
|
|
2023-10-18 12:19:02,474 2200 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-5.0.38-windows-i386-openssl.zip'
|
|
with checksum '9998256C328676C32CF1D148C95ECF43'
|
|
2023-10-18 12:19:02,519 2200 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.0.38".
|
|
2023-10-18 12:19:02,567 2200 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.0.38\.files'
|
|
2023-10-18 12:19:02,582 2200 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.0.38\.extra".
|
|
2023-10-18 12:19:02,582 2200 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.0.38\.version".
|
|
2023-10-18 12:19:02,599 2200 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.0.38\.sxs".
|
|
2023-10-18 12:19:02,599 2200 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.5.0.38\.pin".
|
|
2023-10-18 12:19:02,614 2200 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2023-10-18 12:19:02,629 2200 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\.chocolateyPending".
|
|
2023-10-18 12:19:02,645 2200 [INFO ] - The install of zabbix-agent was successful.
|
|
2023-10-18 12:19:02,645 2200 [INFO ] - Software installed to 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix'
|
|
2023-10-18 12:19:02,676 2200 [WARN ] -
|
|
Chocolatey installed 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-10-18 12:19:02,692 2200 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-10-18 12:19:02,708 2200 [DEBUG] - Exiting with 0
|