|
2025-03-27 22:57:34,657 4232 [DEBUG] - XmlConfiguration is now operational
|
|
2025-03-27 22:57:34,876 4232 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2025-03-27 22:57:34,891 4232 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2025-03-27 22:57:34,909 4232 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2025-03-27 22:57:34,909 4232 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2025-03-27 22:57:34,924 4232 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2025-03-27 22:57:34,924 4232 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2025-03-27 22:57:34,938 4232 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2025-03-27 22:57:34,938 4232 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2025-03-27 22:57:34,955 4232 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2025-03-27 22:57:34,955 4232 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2025-03-27 22:57:34,971 4232 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2025-03-27 22:57:36,033 4232 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-27 22:57:36,033 4232 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-27 22:57:36,047 4232 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-27 22:57:36,047 4232 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-27 22:57:36,047 4232 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-27 22:57:36,064 4232 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-27 22:57:36,079 4232 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-27 22:57:36,079 4232 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-27 22:57:36,079 4232 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-27 22:57:36,094 4232 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-27 22:57:36,126 4232 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2025-03-27 22:57:36,144 4232 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2025-03-27 22:57:36,144 4232 [DEBUG] - Registering new command 'rule' in assembly 'choco'
|
|
2025-03-27 22:57:36,158 4232 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2025-03-27 22:57:36,158 4232 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2025-03-27 22:57:36,175 4232 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2025-03-27 22:57:36,175 4232 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2025-03-27 22:57:36,189 4232 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2025-03-27 22:57:36,189 4232 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2025-03-27 22:57:36,189 4232 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2025-03-27 22:57:36,204 4232 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2025-03-27 22:57:36,204 4232 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2025-03-27 22:57:36,204 4232 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2025-03-27 22:57:36,219 4232 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2025-03-27 22:57:36,219 4232 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2025-03-27 22:57:36,235 4232 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2025-03-27 22:57:36,235 4232 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2025-03-27 22:57:36,235 4232 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2025-03-27 22:57:36,252 4232 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2025-03-27 22:57:36,252 4232 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2025-03-27 22:57:36,267 4232 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2025-03-27 22:57:36,629 4232 [INFO ] - ============================================================
|
|
2025-03-27 22:57:37,126 4232 [INFO ] - Chocolatey v2.4.3
|
|
2025-03-27 22:57:37,204 4232 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2025-03-27 22:57:37,204 4232 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2025-03-27 22:57:37,220 4232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2025-03-27 22:57:37,252 4232 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install zabbix-agent --version 7.0.11 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2025-03-27 22:57:37,252 4232 [DEBUG] - Received arguments: install zabbix-agent --version 7.0.11 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2025-03-27 22:57:37,486 4232 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2025-03-27 22:57:37,548 4232 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2025-03-27 22:57:37,579 4232 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2025-03-27 22:57:37,859 4232 [DEBUG] - Performing validation checks.
|
|
2025-03-27 22:57:37,893 4232 [DEBUG] - Global Configuration Validation Checks:
|
|
2025-03-27 22:57:37,907 4232 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2025-03-27 22:57:37,938 4232 [DEBUG] - System State Validation Checks:
|
|
2025-03-27 22:57:37,955 4232 [DEBUG] - Reboot Requirement Checks:
|
|
2025-03-27 22:57:37,969 4232 [DEBUG] - - Pending Computer Rename = Checked
|
|
2025-03-27 22:57:37,985 4232 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2025-03-27 22:57:37,985 4232 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2025-03-27 22:57:38,001 4232 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2025-03-27 22:57:38,018 4232 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2025-03-27 22:57:38,036 4232 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2025-03-27 22:57:38,064 4232 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2025-03-27 22:57:38,064 4232 [DEBUG] - - Elevated State = Checked
|
|
2025-03-27 22:57:38,084 4232 [DEBUG] - - Folder Exists = Checked
|
|
2025-03-27 22:57:38,111 4232 [DEBUG] - - Folder lockdown = Checked
|
|
2025-03-27 22:57:38,125 4232 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2025-03-27 22:57:38,189 4232 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2025-03-27 22:57:38,205 4232 [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.
|
|
2025-03-27 22:57:38,282 4232 [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='7.0.11'|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.4.3.0'|
|
|
Information.ChocolateyProductVersion='2.4.3'|
|
|
Information.FullName='choco, Version=2.4.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
|
|
|
|
Information.Is64BitOperatingSystem='True'|
|
|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
|
|
Information.UserName='vagrant'|
|
|
Information.UserDomainName='WIN-AO215PBAEQM'|
|
|
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'|
|
|
2025-03-27 22:57:38,298 4232 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2025-03-27 22:57:38,330 4232 [INFO ] - Installing the following packages:
|
|
2025-03-27 22:57:38,345 4232 [INFO ] - zabbix-agent
|
|
2025-03-27 22:57:38,345 4232 [INFO ] - By installing, you accept licenses for the packages.
|
|
2025-03-27 22:57:38,376 4232 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2025-03-27 22:57:38,391 4232 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2025-03-27 22:57:38,391 4232 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2025-03-27 22:57:38,412 4232 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2025-03-27 22:57:38,424 4232 [DEBUG] - * 'ChocolateyLastPathUpdate'='133875512282347963' ('User')
|
|
2025-03-27 22:57:38,424 4232 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2025-03-27 22:57:38,438 4232 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2025-03-27 22:57:38,438 4232 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2025-03-27 22:57:38,454 4232 [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')
|
|
2025-03-27 22:57:38,454 4232 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2025-03-27 22:57:38,470 4232 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2025-03-27 22:57:38,470 4232 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2025-03-27 22:57:38,488 4232 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2025-03-27 22:57:38,488 4232 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2025-03-27 22:57:38,579 4232 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2025-03-27 22:57:38,594 4232 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2025-03-27 22:57:38,610 4232 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
|
|
2025-03-27 22:57:38,610 4232 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2025-03-27 22:57:38,627 4232 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2025-03-27 22:57:38,627 4232 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2025-03-27 22:57:38,643 4232 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2025-03-27 22:57:38,911 4232 [DEBUG] - Unable to get parent process for 'choco'. Ignoring...
|
|
2025-03-27 22:57:38,923 4232 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
|
|
2025-03-27 22:57:38,969 4232 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.3 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
|
|
2025-03-27 22:57:39,532 4232 [DEBUG] - Running list with the following filter = ''
|
|
2025-03-27 22:57:39,547 4232 [DEBUG] - --- Start of List ---
|
|
2025-03-27 22:57:39,610 4232 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
|
|
2025-03-27 22:57:39,626 4232 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.3 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
|
|
2025-03-27 22:57:39,642 4232 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2025-03-27 22:57:40,328 4232 [DEBUG] - chocolatey 2.4.3
|
|
2025-03-27 22:57:40,360 4232 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2025-03-27 22:57:40,360 4232 [DEBUG] - KB2919355 1.0.20160915
|
|
2025-03-27 22:57:40,376 4232 [DEBUG] - KB2919442 1.0.20160915
|
|
2025-03-27 22:57:40,391 4232 [DEBUG] - KB2999226 1.0.20181019
|
|
2025-03-27 22:57:40,410 4232 [DEBUG] - KB3035131 1.0.3
|
|
2025-03-27 22:57:40,422 4232 [DEBUG] - KB3118401 1.0.5
|
|
2025-03-27 22:57:40,438 4232 [DEBUG] - virtualbox-guest-additions-guest.install 7.1.0
|
|
2025-03-27 22:57:40,438 4232 [DEBUG] - --- End of List ---
|
|
2025-03-27 22:57:40,470 4232 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2025-03-27 22:57:41,297 4232 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2025-03-27 22:57:42,094 4232 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='7.0.11')
|
|
2025-03-27 22:57:42,204 4232 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='7.0.11') 110ms
|
|
2025-03-27 22:57:42,656 4232 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2025-03-27 22:57:43,642 4232 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2025-03-27 22:57:43,673 4232 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='7.0.11')
|
|
2025-03-27 22:57:44,001 4232 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2025-03-27 22:57:44,031 4232 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2025-03-27 22:57:44,126 4232 [DEBUG] - Attempting to delete file "".
|
|
2025-03-27 22:57:44,126 4232 [INFO ] - Downloading package from source 'https://community.chocolatey.org/api/v2/'
|
|
2025-03-27 22:57:44,141 4232 [DEBUG] - Package download location 'https://community.chocolatey.org/api/v2/package/zabbix-agent/7.0.11'
|
|
2025-03-27 22:57:44,204 4232 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/zabbix-agent/7.0.11
|
|
2025-03-27 22:57:44,578 4232 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/zabbix-agent/7.0.11 368ms
|
|
2025-03-27 22:57:44,672 4232 [INFO ] - [NuGet] Acquiring lock for the installation of zabbix-agent 7.0.11
|
|
2025-03-27 22:57:44,767 4232 [INFO ] - [NuGet] Acquired lock for the installation of zabbix-agent 7.0.11
|
|
2025-03-27 22:57:48,252 4232 [INFO ] - [NuGet] Installed zabbix-agent 7.0.11 from https://community.chocolatey.org/api/v2/ with content hash jsipfiqqwTgvNW4QhIRpOIFt+6gyaDSV6G+cZo7td5d0RXdXcIX8DfJVYNTRByBSd6NKdaUGvaQzWKMAubb/VA==.
|
|
2025-03-27 22:57:48,266 4232 [DEBUG] - Skipping package hash validation as feature 'usePackageHashValidation' is not enabled.
|
|
2025-03-27 22:57:48,344 4232 [INFO ] - [NuGet] Adding package 'zabbix-agent.7.0.11' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2025-03-27 22:57:48,485 4232 [INFO ] - [NuGet] Added package 'zabbix-agent.7.0.11' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2025-03-27 22:57:48,519 4232 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/7.0.11\zabbix-agent.7.0.11.nupkg".
|
|
2025-03-27 22:57:48,531 4232 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/7.0.11\.nupkg.metadata".
|
|
2025-03-27 22:57:48,531 4232 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/7.0.11\zabbix-agent.7.0.11.nupkg.sha512".
|
|
2025-03-27 22:57:48,548 4232 [INFO ] -
|
|
zabbix-agent v7.0.11 (forced)
|
|
2025-03-27 22:57:48,656 4232 [INFO ] - zabbix-agent package files install completed. Performing other installation steps.
|
|
2025-03-27 22:57:48,766 4232 [DEBUG] - Setting installer args for zabbix-agent
|
|
2025-03-27 22:57:48,766 4232 [DEBUG] - Setting package parameters for zabbix-agent
|
|
2025-03-27 22:57:48,781 4232 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1':
|
|
2025-03-27 22:57:48,798 4232 [DEBUG] - $ErrorActionPreference = 'Stop';
|
|
$version = '7.0.11'
|
|
$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-7.0.11-windows-i386-openssl.zip"
|
|
file64 = "$toolsDir\zabbix_agent-7.0.11-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
|
|
}
|
|
|
|
2025-03-27 22:57:48,859 4232 [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']
|
|
2025-03-27 22:57:48,875 4232 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2025-03-27 22:57:50,766 4232 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.6893' and CLR Version is '4.0.30319.42000'.
|
|
2025-03-27 22:57:51,657 4232 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
|
|
2025-03-27 22:57:51,703 4232 [DEBUG] - Returning loaded assembly type for 'Chocolatey.PowerShell'
|
|
2025-03-27 22:57:51,719 4232 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
|
|
2025-03-27 22:57:51,734 4232 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
|
|
2025-03-27 22:57:51,734 4232 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
|
|
2025-03-27 22:57:51,750 4232 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
|
|
2025-03-27 22:57:51,750 4232 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
|
|
2025-03-27 22:57:51,765 4232 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
|
|
2025-03-27 22:57:51,765 4232 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
|
|
2025-03-27 22:57:51,875 4232 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
|
|
2025-03-27 22:57:51,906 4232 [DEBUG] - Get-EnvironmentVariable
|
|
2025-03-27 22:57:51,922 4232 [DEBUG] - Get-EnvironmentVariableNames
|
|
2025-03-27 22:57:51,922 4232 [DEBUG] - Install-ChocolateyPath
|
|
2025-03-27 22:57:51,922 4232 [DEBUG] - Set-EnvironmentVariable
|
|
2025-03-27 22:57:51,938 4232 [DEBUG] - Test-ProcessAdminRights
|
|
2025-03-27 22:57:51,953 4232 [DEBUG] - Uninstall-ChocolateyPath
|
|
2025-03-27 22:57:51,953 4232 [DEBUG] - Update-SessionEnvironment
|
|
2025-03-27 22:57:51,984 4232 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2025-03-27 22:57:51,984 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2025-03-27 22:57:51,999 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2025-03-27 22:57:52,018 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2025-03-27 22:57:52,031 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2025-03-27 22:57:52,031 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2025-03-27 22:57:52,047 4232 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2025-03-27 22:57:52,063 4232 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2025-03-27 22:57:52,063 4232 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2025-03-27 22:57:52,079 4232 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2025-03-27 22:57:52,094 4232 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2025-03-27 22:57:52,094 4232 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2025-03-27 22:57:52,109 4232 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2025-03-27 22:57:52,124 4232 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2025-03-27 22:57:52,124 4232 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2025-03-27 22:57:52,143 4232 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2025-03-27 22:57:52,143 4232 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2025-03-27 22:57:52,156 4232 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2025-03-27 22:57:52,156 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2025-03-27 22:57:52,172 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2025-03-27 22:57:52,172 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2025-03-27 22:57:52,187 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2025-03-27 22:57:52,187 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2025-03-27 22:57:52,203 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2025-03-27 22:57:52,203 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2025-03-27 22:57:52,220 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2025-03-27 22:57:52,234 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2025-03-27 22:57:52,234 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2025-03-27 22:57:52,251 4232 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2025-03-27 22:57:52,251 4232 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2025-03-27 22:57:52,266 4232 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2025-03-27 22:57:52,313 4232 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2025-03-27 22:57:52,313 4232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2025-03-27 22:57:52,328 4232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2025-03-27 22:57:52,328 4232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2025-03-27 22:57:52,344 4232 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2025-03-27 22:57:52,360 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2025-03-27 22:57:52,375 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2025-03-27 22:57:52,375 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2025-03-27 22:57:52,390 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2025-03-27 22:57:52,390 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2025-03-27 22:57:52,407 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2025-03-27 22:57:52,407 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2025-03-27 22:57:52,425 4232 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2025-03-27 22:57:53,922 4232 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2025-03-27 22:57:53,922 4232 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2025-03-27 22:57:53,937 4232 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2025-03-27 22:57:53,937 4232 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2025-03-27 22:57:53,953 4232 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2025-03-27 22:57:53,968 4232 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2025-03-27 22:57:53,968 4232 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2025-03-27 22:57:53,984 4232 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2025-03-27 22:57:54,015 4232 [DEBUG] - Loading community extensions
|
|
2025-03-27 22:57:54,064 4232 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2025-03-27 22:57:54,080 4232 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2025-03-27 22:57:54,234 4232 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2025-03-27 22:57:54,250 4232 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2025-03-27 22:57:54,267 4232 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2025-03-27 22:57:54,267 4232 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2025-03-27 22:57:54,328 4232 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2025-03-27 22:57:54,344 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2025-03-27 22:57:54,360 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2025-03-27 22:57:54,360 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2025-03-27 22:57:54,375 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2025-03-27 22:57:54,392 4232 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2025-03-27 22:57:54,409 4232 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2025-03-27 22:57:54,409 4232 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2025-03-27 22:57:54,425 4232 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2025-03-27 22:57:54,438 4232 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2025-03-27 22:57:54,452 4232 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2025-03-27 22:57:54,452 4232 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2025-03-27 22:57:54,469 4232 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2025-03-27 22:57:54,469 4232 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2025-03-27 22:57:54,484 4232 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2025-03-27 22:57:54,484 4232 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2025-03-27 22:57:54,501 4232 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2025-03-27 22:57:54,501 4232 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2025-03-27 22:57:54,516 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2025-03-27 22:57:54,531 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2025-03-27 22:57:54,531 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2025-03-27 22:57:54,548 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2025-03-27 22:57:54,548 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2025-03-27 22:57:54,562 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2025-03-27 22:57:54,562 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2025-03-27 22:57:54,577 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2025-03-27 22:57:54,594 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2025-03-27 22:57:54,594 4232 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2025-03-27 22:57:54,609 4232 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2025-03-27 22:57:54,609 4232 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2025-03-27 22:57:54,624 4232 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2025-03-27 22:57:54,624 4232 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2025-03-27 22:57:54,641 4232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2025-03-27 22:57:54,641 4232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2025-03-27 22:57:54,656 4232 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2025-03-27 22:57:54,673 4232 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2025-03-27 22:57:54,673 4232 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2025-03-27 22:57:54,687 4232 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2025-03-27 22:57:54,687 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2025-03-27 22:57:54,706 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2025-03-27 22:57:54,721 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2025-03-27 22:57:54,735 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2025-03-27 22:57:54,735 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2025-03-27 22:57:54,750 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2025-03-27 22:57:54,767 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2025-03-27 22:57:54,767 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2025-03-27 22:57:54,782 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2025-03-27 22:57:54,798 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2025-03-27 22:57:54,813 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2025-03-27 22:57:54,830 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2025-03-27 22:57:54,845 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2025-03-27 22:57:54,845 4232 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2025-03-27 22:57:54,861 4232 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2025-03-27 22:57:54,861 4232 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2025-03-27 22:57:54,876 4232 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2025-03-27 22:57:54,876 4232 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2025-03-27 22:57:54,876 4232 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2025-03-27 22:57:54,891 4232 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2025-03-27 22:57:54,891 4232 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2025-03-27 22:57:54,907 4232 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2025-03-27 22:57:54,907 4232 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2025-03-27 22:57:54,924 4232 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
|
|
2025-03-27 22:57:54,939 4232 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
|
|
2025-03-27 22:57:54,939 4232 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
|
|
2025-03-27 22:57:54,955 4232 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
|
|
2025-03-27 22:57:54,955 4232 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
|
|
2025-03-27 22:57:54,970 4232 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
|
|
2025-03-27 22:57:54,970 4232 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
|
|
2025-03-27 22:57:54,986 4232 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2025-03-27 22:57:55,094 4232 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2025-03-27 22:57:55,094 4232 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2025-03-27 22:57:55,110 4232 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2025-03-27 22:57:55,110 4232 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2025-03-27 22:57:55,127 4232 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2025-03-27 22:57:55,141 4232 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2025-03-27 22:57:55,141 4232 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2025-03-27 22:57:55,156 4232 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2025-03-27 22:57:55,172 4232 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2025-03-27 22:57:55,187 4232 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2025-03-27 22:57:55,187 4232 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2025-03-27 22:57:55,204 4232 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2025-03-27 22:57:55,218 4232 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2025-03-27 22:57:55,218 4232 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2025-03-27 22:57:55,234 4232 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2025-03-27 22:57:55,249 4232 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2025-03-27 22:57:55,249 4232 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2025-03-27 22:57:55,266 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2025-03-27 22:57:55,266 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2025-03-27 22:57:55,282 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2025-03-27 22:57:55,282 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2025-03-27 22:57:55,299 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2025-03-27 22:57:55,313 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2025-03-27 22:57:55,328 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2025-03-27 22:57:55,328 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2025-03-27 22:57:55,343 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2025-03-27 22:57:55,359 4232 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2025-03-27 22:57:55,359 4232 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2025-03-27 22:57:55,375 4232 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2025-03-27 22:57:55,375 4232 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2025-03-27 22:57:55,393 4232 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2025-03-27 22:57:55,413 4232 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2025-03-27 22:57:55,425 4232 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2025-03-27 22:57:55,437 4232 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2025-03-27 22:57:55,437 4232 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2025-03-27 22:57:55,452 4232 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2025-03-27 22:57:55,452 4232 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2025-03-27 22:57:55,469 4232 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2025-03-27 22:57:55,484 4232 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2025-03-27 22:57:55,484 4232 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2025-03-27 22:57:55,500 4232 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2025-03-27 22:57:55,500 4232 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2025-03-27 22:57:55,516 4232 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2025-03-27 22:57:55,516 4232 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2025-03-27 22:57:55,533 4232 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2025-03-27 22:57:55,547 4232 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2025-03-27 22:57:55,751 4232 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2025-03-27 22:57:55,814 4232 [DEBUG] - Running 'ChocolateyScriptRunner' for zabbix-agent v7.0.11 with packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\zabbix-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2025-03-27 22:57:55,906 4232 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
|
|
2025-03-27 22:58:00,830 4232 [DEBUG] - Running Get-ChocolateyUnzip -destination 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix' -fileFullPath64 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-7.0.11-windows-amd64-openssl.zip' -packageName 'zabbix-agent' -fileFullPath 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-7.0.11-windows-i386-openssl.zip'
|
|
2025-03-27 22:58:00,925 4232 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2025-03-27 22:58:01,156 4232 [INFO ] - Extracting 64-bit C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-7.0.11-windows-amd64-openssl.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix...
|
|
2025-03-27 22:58:01,421 4232 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2025-03-27 22:58:01,577 4232 [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-7.0.11-windows-amd64-openssl.zip"]
|
|
2025-03-27 22:58:02,406 4232 [INFO ] - VERBOSE:
|
|
2025-03-27 22:58:02,453 4232 [INFO ] - VERBOSE: 7-Zip 24.09 (x86) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29
|
|
2025-03-27 22:58:02,469 4232 [INFO ] - VERBOSE:
|
|
2025-03-27 22:58:02,486 4232 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2025-03-27 22:58:02,517 4232 [INFO ] - VERBOSE: 1 file, 6271486 bytes (6125 KiB)
|
|
2025-03-27 22:58:02,517 4232 [INFO ] - VERBOSE:
|
|
2025-03-27 22:58:02,532 4232 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-7.0.11-windows-amd64-openssl.zip
|
|
2025-03-27 22:58:02,549 4232 [INFO ] - VERBOSE: --
|
|
2025-03-27 22:58:02,562 4232 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-7.0.11-windows-amd64-openssl.zip
|
|
2025-03-27 22:58:02,578 4232 [INFO ] - VERBOSE: Type = zip
|
|
2025-03-27 22:58:02,593 4232 [INFO ] - VERBOSE: Physical Size = 6271486
|
|
2025-03-27 22:58:02,609 4232 [INFO ] - VERBOSE:
|
|
2025-03-27 22:58:02,626 4232 [INFO ] - VERBOSE: - bin\zabbix_agentd.exe
|
|
2025-03-27 22:58:02,751 4232 [INFO ] - VERBOSE: - bin\zabbix_get.exe
|
|
2025-03-27 22:58:02,783 4232 [INFO ] - VERBOSE: - bin\zabbix_sender.exe
|
|
2025-03-27 22:58:02,783 4232 [INFO ] - VERBOSE: - conf\zabbix_agentd.conf
|
|
2025-03-27 22:58:02,797 4232 [INFO ] - VERBOSE: Everything is Ok
|
|
2025-03-27 22:58:02,816 4232 [INFO ] - VERBOSE:
|
|
2025-03-27 22:58:02,828 4232 [INFO ] - VERBOSE: Size: 15661409
|
|
2025-03-27 22:58:02,844 4232 [INFO ] - VERBOSE: Files: 4
|
|
2025-03-27 22:58:02,844 4232 [INFO ] - VERBOSE: Compressed: 6271486
|
|
2025-03-27 22:58:03,219 4232 [DEBUG] - $exitCode was passed null
|
|
2025-03-27 22:58:03,234 4232 [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-7.0.11-windows-amd64-openssl.zip"] exited with '0'.
|
|
2025-03-27 22:58:03,546 4232 [DEBUG] - 7z exit code: 0
|
|
2025-03-27 22:58:03,595 4232 [INFO ] - C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix
|
|
2025-03-27 22:58:03,625 4232 [INFO ] - C:\ProgramData\zabbix
|
|
2025-03-27 22:58:03,640 4232 [INFO ] - C:\Program Files\Zabbix Agent
|
|
2025-03-27 22:58:03,968 4232 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -statements '--config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install' -exeToRun 'C:\Program Files\Zabbix Agent\zabbix_agentd.exe'
|
|
2025-03-27 22:58:04,000 4232 [DEBUG] - Running Test-ProcessAdminRights
|
|
2025-03-27 22:58:04,000 4232 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2025-03-27 22:58:04,016 4232 [DEBUG] - Finishing 'Test-ProcessAdminRights'
|
|
2025-03-27 22:58:04,109 4232 [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.
|
|
2025-03-27 22:58:04,469 4232 [ERROR] - zabbix_agentd.exe [2516]: service [Zabbix Agent] installed successfully
|
|
2025-03-27 22:58:04,483 4232 [ERROR] - zabbix_agentd.exe [2516]: event source [Zabbix Agent] installed successfully
|
|
2025-03-27 22:58:04,531 4232 [DEBUG] - Command ["C:\Program Files\Zabbix Agent\zabbix_agentd.exe" --config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install] exited with '0'.
|
|
2025-03-27 22:58:04,577 4232 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2025-03-27 22:58:04,594 4232 [INFO ] - 0
|
|
2025-03-27 22:58:06,112 4232 [DEBUG] - Running Install-ChocolateyPath -Path 'C:\Program Files\Zabbix Agent' -PathType 'Machine'
|
|
2025-03-27 22:58:06,157 4232 [INFO ] - PATH environment variable does not have C:\Program Files\Zabbix Agent in it. Adding...
|
|
2025-03-27 22:58:06,204 4232 [DEBUG] - Registry type for PATH is/will be ExpandString
|
|
2025-03-27 22:58:06,610 4232 [DEBUG] - Finishing 'Install-ChocolateyPath'
|
|
2025-03-27 22:58:06,924 4232 [DEBUG] - ----------------------------------------------------------------------
|
|
2025-03-27 22:58:06,953 4232 [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'.
|
|
2025-03-27 22:58:06,953 4232 [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.
|
|
2025-03-27 22:58:06,985 4232 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2025-03-27 22:58:07,267 4232 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2025-03-27 22:58:07,344 4232 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
|
|
see the changes (or in powershell/cmd.exe just type `refreshenv`).
|
|
2025-03-27 22:58:07,377 4232 [DEBUG] - The following values have been added/changed (may contain sensitive data):
|
|
2025-03-27 22:58:07,377 4232 [DEBUG] - * ChocolateyLastPathUpdate='133875898862505573' (User)
|
|
2025-03-27 22:58:07,392 4232 [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)
|
|
2025-03-27 22:58:07,861 4232 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\zabbix-agent'
|
|
2025-03-27 22:58:07,937 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg'
|
|
with checksum 'BBE0CD9AE1C1F8562181885B5EFCA813'
|
|
2025-03-27 22:58:07,972 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec'
|
|
with checksum '9BCD9D6B3B2FAB8AABE5F0D91E3555E6'
|
|
2025-03-27 22:58:07,985 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-7.0.11-windows-amd64-openssl.zip.txt'
|
|
with checksum 'C2F6C8C445F13624D85250D0ACBBB898'
|
|
2025-03-27 22:58:08,016 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt'
|
|
with checksum '82B4494D3EFC80FBF5EA0B125B93B37D'
|
|
2025-03-27 22:58:08,016 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt'
|
|
with checksum '00CD840B1BB7C1A68364C203D88C3BAD'
|
|
2025-03-27 22:58:08,057 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
|
|
with checksum '4F491CEFAF589E0B3C44ED47E58DBCAA'
|
|
2025-03-27 22:58:08,061 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1'
|
|
with checksum '1EF7B5D5AA4FC966D564939253252F18'
|
|
2025-03-27 22:58:08,119 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-7.0.11-windows-amd64-openssl.zip'
|
|
with checksum 'B0583A9EE1D73D4781A57A71C79BA0E6'
|
|
2025-03-27 22:58:08,144 4232 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-7.0.11-windows-i386-openssl.zip'
|
|
with checksum '8E89885BBEE809EF2E47843472C3D80B'
|
|
2025-03-27 22:58:08,267 4232 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.7.0.11".
|
|
2025-03-27 22:58:08,360 4232 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.7.0.11\.files'
|
|
2025-03-27 22:58:08,391 4232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.7.0.11\.extra".
|
|
2025-03-27 22:58:08,391 4232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.7.0.11\.version".
|
|
2025-03-27 22:58:08,422 4232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.7.0.11\.sxs".
|
|
2025-03-27 22:58:08,422 4232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.7.0.11\.pin".
|
|
2025-03-27 22:58:08,468 4232 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2025-03-27 22:58:08,489 4232 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\.chocolateyPending".
|
|
2025-03-27 22:58:08,517 4232 [INFO ] - The install of zabbix-agent was successful.
|
|
2025-03-27 22:58:08,517 4232 [INFO ] - Deployed to 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix'
|
|
2025-03-27 22:58:08,578 4232 [WARN ] -
|
|
Chocolatey installed 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2025-03-27 22:58:08,593 4232 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2025-03-27 22:58:08,627 4232 [DEBUG] - Exiting with 0
|