|
2023-11-30 21:07:01,893 1488 [DEBUG] - XmlConfiguration is now operational
|
|
2023-11-30 21:07:02,112 1488 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-11-30 21:07:02,130 1488 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-11-30 21:07:02,159 1488 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-11-30 21:07:02,159 1488 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-11-30 21:07:02,175 1488 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-11-30 21:07:02,175 1488 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2023-11-30 21:07:02,190 1488 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-11-30 21:07:02,190 1488 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-11-30 21:07:02,206 1488 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-11-30 21:07:02,206 1488 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-11-30 21:07:02,222 1488 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-11-30 21:07:03,616 1488 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-30 21:07:03,628 1488 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-30 21:07:03,628 1488 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-30 21:07:03,644 1488 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-30 21:07:03,644 1488 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-30 21:07:03,658 1488 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-30 21:07:03,658 1488 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-30 21:07:03,674 1488 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-30 21:07:03,674 1488 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-30 21:07:03,674 1488 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-11-30 21:07:03,721 1488 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2023-11-30 21:07:03,737 1488 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-11-30 21:07:03,737 1488 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2023-11-30 21:07:03,753 1488 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-11-30 21:07:03,753 1488 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-11-30 21:07:03,768 1488 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-11-30 21:07:03,768 1488 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-11-30 21:07:03,784 1488 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-11-30 21:07:03,784 1488 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-11-30 21:07:03,801 1488 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-11-30 21:07:03,801 1488 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-11-30 21:07:03,815 1488 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-11-30 21:07:03,815 1488 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-11-30 21:07:03,830 1488 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-11-30 21:07:03,830 1488 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2023-11-30 21:07:03,847 1488 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-11-30 21:07:03,847 1488 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-11-30 21:07:03,863 1488 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2023-11-30 21:07:03,863 1488 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-11-30 21:07:03,879 1488 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-11-30 21:07:04,361 1488 [INFO ] - ============================================================
|
|
2023-11-30 21:07:05,114 1488 [INFO ] - Chocolatey v2.2.2
|
|
2023-11-30 21:07:05,148 1488 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-11-30 21:07:05,159 1488 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-11-30 21:07:05,176 1488 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-11-30 21:07:05,222 1488 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install zabbix-agent --version 6.4.9 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-11-30 21:07:05,240 1488 [DEBUG] - Received arguments: install zabbix-agent --version 6.4.9 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-11-30 21:07:05,534 1488 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-11-30 21:07:05,598 1488 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-11-30 21:07:05,643 1488 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-11-30 21:07:06,019 1488 [DEBUG] - Performing validation checks.
|
|
2023-11-30 21:07:06,049 1488 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-11-30 21:07:06,065 1488 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-11-30 21:07:06,096 1488 [DEBUG] - System State Validation Checks:
|
|
2023-11-30 21:07:06,175 1488 [DEBUG] - Reboot Requirement Checks:
|
|
2023-11-30 21:07:06,191 1488 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-11-30 21:07:06,206 1488 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-11-30 21:07:06,221 1488 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-11-30 21:07:06,221 1488 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-11-30 21:07:06,237 1488 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-11-30 21:07:06,253 1488 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-11-30 21:07:06,270 1488 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2023-11-30 21:07:06,285 1488 [DEBUG] - - Elevated State = Checked
|
|
2023-11-30 21:07:06,299 1488 [DEBUG] - - Folder Exists = Checked
|
|
2023-11-30 21:07:06,316 1488 [DEBUG] - - Folder lockdown = Checked
|
|
2023-11-30 21:07:06,348 1488 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2023-11-30 21:07:06,410 1488 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-11-30 21:07:06,425 1488 [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-11-30 21:07:06,502 1488 [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='6.4.9'|AllVersions='False'|SkipPackageInstallProvider='False'|
|
|
SkipHookScripts='False'|PackageNames='zabbix-agent'|Prerelease='False'|
|
|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
|
|
ApplyPackageParametersToDependencies='False'|
|
|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
|
|
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-1IMVS6OEQI2'|
|
|
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-11-30 21:07:06,519 1488 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2023-11-30 21:07:06,567 1488 [INFO ] - Installing the following packages:
|
|
2023-11-30 21:07:06,585 1488 [INFO ] - zabbix-agent
|
|
2023-11-30 21:07:06,597 1488 [INFO ] - By installing, you accept licenses for the packages.
|
|
2023-11-30 21:07:06,643 1488 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-11-30 21:07:06,659 1488 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-11-30 21:07:06,676 1488 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-11-30 21:07:06,676 1488 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-11-30 21:07:06,691 1488 [DEBUG] - * 'ChocolateyLastPathUpdate'='133458271486176970' ('User')
|
|
2023-11-30 21:07:06,691 1488 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-11-30 21:07:06,707 1488 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-11-30 21:07:06,707 1488 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-11-30 21:07:06,722 1488 [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-11-30 21:07:06,722 1488 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-11-30 21:07:06,737 1488 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-11-30 21:07:06,737 1488 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-11-30 21:07:06,753 1488 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-11-30 21:07:06,769 1488 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-11-30 21:07:06,769 1488 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-11-30 21:07:06,784 1488 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-11-30 21:07:06,784 1488 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
|
|
2023-11-30 21:07:06,799 1488 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-11-30 21:07:06,799 1488 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2023-11-30 21:07:06,816 1488 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2023-11-30 21:07:06,816 1488 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-11-30 21:07:07,627 1488 [DEBUG] - Running list with the following filter = ''
|
|
2023-11-30 21:07:07,643 1488 [DEBUG] - --- Start of List ---
|
|
2023-11-30 21:07:07,721 1488 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2023-11-30 21:07:08,502 1488 [DEBUG] - chocolatey 2.2.2
|
|
2023-11-30 21:07:08,536 1488 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2023-11-30 21:07:08,549 1488 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-11-30 21:07:08,565 1488 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-11-30 21:07:08,580 1488 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-11-30 21:07:08,596 1488 [DEBUG] - KB3035131 1.0.3
|
|
2023-11-30 21:07:08,612 1488 [DEBUG] - KB3118401 1.0.5
|
|
2023-11-30 21:07:08,659 1488 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
|
|
2023-11-30 21:07:08,674 1488 [DEBUG] - --- End of List ---
|
|
2023-11-30 21:07:08,706 1488 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2023-11-30 21:07:09,893 1488 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2023-11-30 21:07:10,784 1488 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='6.4.9')
|
|
2023-11-30 21:07:11,019 1488 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='6.4.9') 232ms
|
|
2023-11-30 21:07:11,253 1488 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2023-11-30 21:07:12,097 1488 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2023-11-30 21:07:12,129 1488 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='6.4.9')
|
|
2023-11-30 21:07:12,441 1488 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2023-11-30 21:07:12,473 1488 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2023-11-30 21:07:12,551 1488 [DEBUG] - Attempting to delete file "".
|
|
2023-11-30 21:07:12,628 1488 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/zabbix-agent/6.4.9
|
|
2023-11-30 21:07:13,355 1488 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/zabbix-agent/6.4.9 723ms
|
|
2023-11-30 21:07:13,443 1488 [INFO ] - [NuGet] Acquiring lock for the installation of zabbix-agent 6.4.9
|
|
2023-11-30 21:07:13,571 1488 [INFO ] - [NuGet] Acquired lock for the installation of zabbix-agent 6.4.9
|
|
2023-11-30 21:07:15,940 1488 [INFO ] - [NuGet] Installed zabbix-agent 6.4.9 from https://community.chocolatey.org/api/v2/ with content hash 7g1VkNzx7CVDtKlh6Hq9rArre7aUMtHo0fM92f+YxCiDZ6cpM+VR35fBhPpt6sI/CF7vhpqB2TR1ntL4NpH9Ng==.
|
|
2023-11-30 21:07:16,034 1488 [INFO ] - [NuGet] Adding package 'zabbix-agent.6.4.9' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-11-30 21:07:16,314 1488 [INFO ] - [NuGet] Added package 'zabbix-agent.6.4.9' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2023-11-30 21:07:16,333 1488 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/6.4.9\zabbix-agent.6.4.9.nupkg".
|
|
2023-11-30 21:07:16,347 1488 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/6.4.9\.nupkg.metadata".
|
|
2023-11-30 21:07:16,362 1488 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/6.4.9\zabbix-agent.6.4.9.nupkg.sha512".
|
|
2023-11-30 21:07:16,393 1488 [INFO ] -
|
|
zabbix-agent v6.4.9 (forced)
|
|
2023-11-30 21:07:16,503 1488 [INFO ] - zabbix-agent package files install completed. Performing other installation steps.
|
|
2023-11-30 21:07:16,613 1488 [DEBUG] - Setting installer args for zabbix-agent
|
|
2023-11-30 21:07:16,629 1488 [DEBUG] - Setting package parameters for zabbix-agent
|
|
2023-11-30 21:07:16,643 1488 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1':
|
|
2023-11-30 21:07:16,722 1488 [DEBUG] - $ErrorActionPreference = 'Stop';
|
|
$version = '6.4.9'
|
|
$title = 'Zabbix Agent'
|
|
|
|
$configDir = Join-Path $env:PROGRAMDATA 'zabbix'
|
|
$zabbixConf = Join-Path $configDir 'zabbix_agentd.conf'
|
|
|
|
$installDir = Join-Path $env:PROGRAMFILES $title
|
|
$zabbixAgentd = Join-Path $installDir 'zabbix_agentd.exe'
|
|
|
|
$tempDir = Join-Path $env:TEMP 'chocolatey\zabbix'
|
|
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
|
$binDir = Join-Path $tempDir 'bin'
|
|
$binFiles = @('zabbix_agentd.exe', 'zabbix_get.exe', 'zabbix_sender.exe')
|
|
$sampleConfig = Join-Path $tempDir 'conf\zabbix_agentd.conf'
|
|
|
|
$service = Get-WmiObject -Class Win32_Service -Filter "Name=`'$title`'"
|
|
|
|
$PackageArgs = @{
|
|
PackageName = $env:ChocolateyPackageName
|
|
unzipLocation = $tempDir
|
|
file = "$toolsDir\zabbix_agent-6.4.9-windows-i386-openssl.zip"
|
|
file64 = "$toolsDir\zabbix_agent-6.4.9-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-11-30 21:07:16,908 1488 [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-11-30 21:07:16,945 1488 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-11-30 21:07:18,267 1488 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-11-30 21:07:19,300 1488 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-11-30 21:07:19,300 1488 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-11-30 21:07:19,315 1488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-11-30 21:07:19,331 1488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-11-30 21:07:19,347 1488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-11-30 21:07:19,347 1488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-11-30 21:07:19,362 1488 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-11-30 21:07:19,377 1488 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-11-30 21:07:19,377 1488 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-11-30 21:07:19,394 1488 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-11-30 21:07:19,394 1488 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-11-30 21:07:19,410 1488 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-11-30 21:07:19,425 1488 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-11-30 21:07:19,425 1488 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-11-30 21:07:19,441 1488 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-11-30 21:07:19,456 1488 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-11-30 21:07:19,456 1488 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-11-30 21:07:19,473 1488 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-11-30 21:07:19,473 1488 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-11-30 21:07:19,488 1488 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-11-30 21:07:19,504 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-11-30 21:07:19,519 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-11-30 21:07:19,519 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-11-30 21:07:19,534 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-11-30 21:07:19,550 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-11-30 21:07:19,550 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-11-30 21:07:19,566 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-11-30 21:07:19,584 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-11-30 21:07:19,598 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-11-30 21:07:19,613 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-11-30 21:07:19,613 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-11-30 21:07:19,629 1488 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-11-30 21:07:19,644 1488 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-11-30 21:07:19,659 1488 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-11-30 21:07:19,659 1488 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-11-30 21:07:19,674 1488 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-11-30 21:07:19,690 1488 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-11-30 21:07:19,690 1488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-11-30 21:07:19,706 1488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-11-30 21:07:19,721 1488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-11-30 21:07:19,737 1488 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-11-30 21:07:19,737 1488 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-11-30 21:07:19,753 1488 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-11-30 21:07:19,800 1488 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-11-30 21:07:19,817 1488 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-11-30 21:07:19,836 1488 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-11-30 21:07:19,846 1488 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-11-30 21:07:19,863 1488 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-11-30 21:07:19,881 1488 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-11-30 21:07:19,894 1488 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-11-30 21:07:19,894 1488 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-11-30 21:07:20,002 1488 [DEBUG] - Loading community extensions
|
|
2023-11-30 21:07:20,065 1488 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-11-30 21:07:20,082 1488 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-11-30 21:07:20,252 1488 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-11-30 21:07:20,271 1488 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-11-30 21:07:20,283 1488 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-11-30 21:07:20,301 1488 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-11-30 21:07:20,316 1488 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-11-30 21:07:20,331 1488 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-11-30 21:07:20,346 1488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-11-30 21:07:20,361 1488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-11-30 21:07:20,361 1488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-11-30 21:07:20,377 1488 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-11-30 21:07:20,394 1488 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-11-30 21:07:20,394 1488 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-11-30 21:07:20,409 1488 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-11-30 21:07:20,425 1488 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-11-30 21:07:20,425 1488 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-11-30 21:07:20,441 1488 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-11-30 21:07:20,441 1488 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-11-30 21:07:20,456 1488 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-11-30 21:07:20,472 1488 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-11-30 21:07:20,488 1488 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-11-30 21:07:20,488 1488 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-11-30 21:07:20,503 1488 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-11-30 21:07:20,519 1488 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-11-30 21:07:20,519 1488 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-11-30 21:07:20,534 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-11-30 21:07:20,534 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-11-30 21:07:20,550 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-11-30 21:07:20,565 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-11-30 21:07:20,565 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-11-30 21:07:20,581 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-11-30 21:07:20,596 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-11-30 21:07:20,596 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-11-30 21:07:20,614 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-11-30 21:07:20,629 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-11-30 21:07:20,644 1488 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-11-30 21:07:20,644 1488 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-11-30 21:07:20,659 1488 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-11-30 21:07:20,674 1488 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-11-30 21:07:20,690 1488 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-11-30 21:07:20,706 1488 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-11-30 21:07:20,706 1488 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-11-30 21:07:20,722 1488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-11-30 21:07:20,737 1488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-11-30 21:07:20,737 1488 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-11-30 21:07:20,753 1488 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-11-30 21:07:20,753 1488 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-11-30 21:07:20,769 1488 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-11-30 21:07:20,783 1488 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-11-30 21:07:20,801 1488 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-11-30 21:07:20,801 1488 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-11-30 21:07:20,819 1488 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-11-30 21:07:20,832 1488 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-11-30 21:07:20,846 1488 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-11-30 21:07:20,862 1488 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-11-30 21:07:20,862 1488 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-11-30 21:07:20,878 1488 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-11-30 21:07:20,894 1488 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-11-30 21:07:20,894 1488 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-11-30 21:07:20,910 1488 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-11-30 21:07:20,924 1488 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-11-30 21:07:20,924 1488 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-11-30 21:07:20,940 1488 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-11-30 21:07:20,955 1488 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-11-30 21:07:20,955 1488 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-11-30 21:07:20,971 1488 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-11-30 21:07:20,988 1488 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-11-30 21:07:20,988 1488 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-11-30 21:07:21,004 1488 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-11-30 21:07:21,018 1488 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-11-30 21:07:21,018 1488 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-11-30 21:07:21,049 1488 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-11-30 21:07:21,065 1488 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-11-30 21:07:21,081 1488 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-11-30 21:07:21,081 1488 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-11-30 21:07:21,097 1488 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-11-30 21:07:21,097 1488 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-11-30 21:07:21,112 1488 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-11-30 21:07:21,129 1488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-11-30 21:07:21,253 1488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-11-30 21:07:21,269 1488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-11-30 21:07:21,269 1488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-11-30 21:07:21,284 1488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-11-30 21:07:21,300 1488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-11-30 21:07:21,318 1488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-11-30 21:07:21,332 1488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-11-30 21:07:21,347 1488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-11-30 21:07:21,362 1488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-11-30 21:07:21,362 1488 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-11-30 21:07:21,379 1488 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-11-30 21:07:21,394 1488 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-11-30 21:07:21,394 1488 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-11-30 21:07:21,409 1488 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-11-30 21:07:21,426 1488 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-11-30 21:07:21,426 1488 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-11-30 21:07:21,440 1488 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-11-30 21:07:21,440 1488 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-11-30 21:07:21,456 1488 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-11-30 21:07:21,471 1488 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-11-30 21:07:21,471 1488 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-11-30 21:07:21,489 1488 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-11-30 21:07:21,502 1488 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-11-30 21:07:21,502 1488 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-11-30 21:07:21,519 1488 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-11-30 21:07:21,519 1488 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-11-30 21:07:21,533 1488 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-11-30 21:07:21,533 1488 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-11-30 21:07:21,550 1488 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-11-30 21:07:21,566 1488 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-11-30 21:07:21,566 1488 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-11-30 21:07:21,581 1488 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-11-30 21:07:21,783 1488 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-11-30 21:07:21,861 1488 [DEBUG] - Running 'ChocolateyScriptRunner' for zabbix-agent v6.4.9 with packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\zabbix-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-11-30 21:07:22,049 1488 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
|
|
2023-11-30 21:07:28,880 1488 [DEBUG] - Running Get-ChocolateyUnzip -destination 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix' -fileFullPath64 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.9-windows-amd64-openssl.zip' -packageName 'zabbix-agent' -fileFullPath 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.9-windows-i386-openssl.zip'
|
|
2023-11-30 21:07:28,973 1488 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2023-11-30 21:07:29,268 1488 [INFO ] - Extracting 64-bit C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.9-windows-amd64-openssl.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix...
|
|
2023-11-30 21:07:29,380 1488 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2023-11-30 21:07:29,524 1488 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix" -y "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.9-windows-amd64-openssl.zip"]
|
|
2023-11-30 21:07:30,190 1488 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
|
|
2023-11-30 21:07:30,206 1488 [INFO ] - VERBOSE:
|
|
2023-11-30 21:07:30,239 1488 [INFO ] - VERBOSE:
|
|
2023-11-30 21:07:30,269 1488 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2023-11-30 21:07:30,269 1488 [INFO ] - VERBOSE: 1 file, 4098056 bytes (4003 KiB)
|
|
2023-11-30 21:07:30,284 1488 [INFO ] - VERBOSE:
|
|
2023-11-30 21:07:30,300 1488 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.9-windows-amd64-openssl.zip
|
|
2023-11-30 21:07:30,332 1488 [INFO ] - VERBOSE: --
|
|
2023-11-30 21:07:30,346 1488 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.9-windows-amd64-openssl.zip
|
|
2023-11-30 21:07:30,394 1488 [INFO ] - VERBOSE: Physical Size = 4098056
|
|
2023-11-30 21:07:30,410 1488 [INFO ] - VERBOSE:
|
|
2023-11-30 21:07:30,425 1488 [INFO ] - VERBOSE: - bin\zabbix_agentd.exe
|
|
2023-11-30 21:07:30,550 1488 [INFO ] - VERBOSE: - bin\zabbix_get.exe
|
|
2023-11-30 21:07:30,565 1488 [INFO ] - VERBOSE: - bin\zabbix_sender.exe
|
|
2023-11-30 21:07:30,597 1488 [INFO ] - VERBOSE: - conf\zabbix_agentd.conf
|
|
2023-11-30 21:07:30,597 1488 [INFO ] - VERBOSE: Type = zip
|
|
2023-11-30 21:07:30,627 1488 [INFO ] - VERBOSE: Everything is Ok
|
|
2023-11-30 21:07:30,644 1488 [INFO ] - VERBOSE:
|
|
2023-11-30 21:07:30,644 1488 [INFO ] - VERBOSE: Files: 4
|
|
2023-11-30 21:07:30,659 1488 [INFO ] - VERBOSE: Size: 8975644
|
|
2023-11-30 21:07:30,675 1488 [INFO ] - VERBOSE: Compressed: 4098056
|
|
2023-11-30 21:07:30,940 1488 [DEBUG] - $exitCode was passed null
|
|
2023-11-30 21:07:30,957 1488 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix" -y "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.9-windows-amd64-openssl.zip"] exited with '0'.
|
|
2023-11-30 21:07:31,051 1488 [DEBUG] - 7z exit code: 0
|
|
2023-11-30 21:07:31,097 1488 [INFO ] - C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix
|
|
2023-11-30 21:07:31,127 1488 [INFO ] - C:\ProgramData\zabbix
|
|
2023-11-30 21:07:31,144 1488 [INFO ] - C:\Program Files\Zabbix Agent
|
|
2023-11-30 21:07:31,446 1488 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -statements '--config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install' -exeToRun 'C:\Program Files\Zabbix Agent\zabbix_agentd.exe'
|
|
2023-11-30 21:07:31,692 1488 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2023-11-30 21:07:31,768 1488 [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-11-30 21:07:32,237 1488 [ERROR] - zabbix_agentd.exe [1004]: service [Zabbix Agent] installed successfully
|
|
2023-11-30 21:07:32,253 1488 [ERROR] - zabbix_agentd.exe [1004]: event source [Zabbix Agent] installed successfully
|
|
2023-11-30 21:07:32,283 1488 [DEBUG] - Command ["C:\Program Files\Zabbix Agent\zabbix_agentd.exe" --config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install] exited with '0'.
|
|
2023-11-30 21:07:32,331 1488 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2023-11-30 21:07:32,331 1488 [INFO ] - 0
|
|
2023-11-30 21:07:34,910 1488 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\Program Files\Zabbix Agent' -pathType 'Machine'
|
|
2023-11-30 21:07:35,005 1488 [DEBUG] - Running Update-SessionEnvironment
|
|
2023-11-30 21:07:35,005 1488 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
|
|
2023-11-30 21:07:37,520 1488 [INFO ] - PATH environment variable does not have C:\Program Files\Zabbix Agent in it. Adding...
|
|
2023-11-30 21:07:37,553 1488 [INFO ] - VERBOSE: Choosing not to expand environment names
|
|
2023-11-30 21:07:37,741 1488 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2023-11-30 21:07:37,925 1488 [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-11-30 21:07:38,098 1488 [DEBUG] - Registry type for Path is/will be ExpandString
|
|
2023-11-30 21:07:38,285 1488 [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-11-30 21:07:39,475 1488 [DEBUG] - Running Update-SessionEnvironment
|
|
2023-11-30 21:07:39,520 1488 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
|
|
2023-11-30 21:07:41,035 1488 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-11-30 21:07:41,067 1488 [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-11-30 21:07:41,083 1488 [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-11-30 21:07:41,099 1488 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-11-30 21:07:41,302 1488 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-11-30 21:07:41,363 1488 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
|
|
see the changes (or in powershell/cmd.exe just type `refreshenv`).
|
|
2023-11-30 21:07:41,380 1488 [DEBUG] - The following values have been added/changed (may contain sensitive data):
|
|
2023-11-30 21:07:41,400 1488 [DEBUG] - * ChocolateyLastPathUpdate='133458520591769145' (User)
|
|
2023-11-30 21:07:41,427 1488 [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-11-30 21:07:41,739 1488 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\zabbix-agent'
|
|
2023-11-30 21:07:41,817 1488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg'
|
|
with checksum 'EE2D8F330039BFEB9C21BB8ADADF1A97'
|
|
2023-11-30 21:07:41,817 1488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec'
|
|
with checksum '86458E54C46EDD49C92B30CD4A5A5462'
|
|
2023-11-30 21:07:41,834 1488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-6.4.9-windows-amd64-openssl.zip.txt'
|
|
with checksum 'C2F6C8C445F13624D85250D0ACBBB898'
|
|
2023-11-30 21:07:41,848 1488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt'
|
|
with checksum '82B4494D3EFC80FBF5EA0B125B93B37D'
|
|
2023-11-30 21:07:41,865 1488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt'
|
|
with checksum '151688D8F2B31E049B2D74CBFB5E0654'
|
|
2023-11-30 21:07:41,880 1488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
|
|
with checksum '773223D88DED75FD8D0289CD0486CFE9'
|
|
2023-11-30 21:07:41,896 1488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1'
|
|
with checksum '1EF7B5D5AA4FC966D564939253252F18'
|
|
2023-11-30 21:07:41,927 1488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.9-windows-amd64-openssl.zip'
|
|
with checksum '19F74434DDA4497020EE09E0855F2974'
|
|
2023-11-30 21:07:41,963 1488 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.9-windows-i386-openssl.zip'
|
|
with checksum '64B54AED834F0E45949B41096088DB22'
|
|
2023-11-30 21:07:42,083 1488 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.9".
|
|
2023-11-30 21:07:42,146 1488 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.9\.files'
|
|
2023-11-30 21:07:42,178 1488 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.9\.extra".
|
|
2023-11-30 21:07:42,191 1488 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.9\.version".
|
|
2023-11-30 21:07:42,191 1488 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.9\.sxs".
|
|
2023-11-30 21:07:42,210 1488 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.9\.pin".
|
|
2023-11-30 21:07:42,288 1488 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2023-11-30 21:07:42,319 1488 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\.chocolateyPending".
|
|
2023-11-30 21:07:42,332 1488 [INFO ] - The install of zabbix-agent was successful.
|
|
2023-11-30 21:07:42,332 1488 [INFO ] - Software installed to 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix'
|
|
2023-11-30 21:07:42,395 1488 [WARN ] -
|
|
Chocolatey installed 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-11-30 21:07:42,428 1488 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-11-30 21:07:42,442 1488 [DEBUG] - Exiting with 0
|