|
2024-03-26 11:06:29,701 2572 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-03-26 11:06:29,825 2572 [DEBUG] - Running 'ChocolateyScriptRunner' for zabbix-agent.install v6.4.13 with packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\zabbix-agent.install', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2024-03-26 11:06:30,077 2572 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\chocolateyInstall.ps1'
|
|
2024-03-26 11:06:30,692 2572 [DEBUG] - Running Get-PackageParameters
|
|
2024-03-26 11:06:30,748 2572 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
|
|
2024-03-26 11:06:32,967 2572 [DEBUG] - Running Install-ChocolateyInstallPackage -silentArgs '/qn /norestart SERVER="127.0.0.1"' -file 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\zabbix_agent-6.4.13-windows-i386-openssl.msi' -file64 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\zabbix_agent-6.4.13-windows-amd64-openssl.msi' -fileType 'MSI' -validExitCodes '0 3010 1641' -packageName 'zabbix-agent.install'
|
|
2024-03-26 11:06:33,043 2572 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2024-03-26 11:06:33,512 2572 [INFO ] - Installing 64-bit zabbix-agent.install...
|
|
2024-03-26 11:06:34,140 2572 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1641' -workingDirectory 'C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools' -statements '/i "C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\zabbix_agent-6.4.13-windows-amd64-openssl.msi" /qn /norestart SERVER="127.0.0.1" ' -exeToRun 'C:\Windows\System32\msiexec.exe'
|
|
2024-03-26 11:06:34,293 2572 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2024-03-26 11:06:34,638 2572 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\ProgramData\chocolatey\lib\zabbix-agent.install\tools\zabbix_agent-6.4.13-windows-amd64-openssl.msi" /qn /norestart SERVER="127.0.0.1" ]. This may take a while, depending on the statements.
|
|
2024-03-26 11:07:13,223 3108 [DEBUG] - XmlConfiguration is now operational
|
|
2024-03-26 11:07:13,440 3108 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-03-26 11:07:13,455 3108 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-03-26 11:07:13,455 3108 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-03-26 11:07:13,455 3108 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-03-26 11:07:13,471 3108 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-03-26 11:07:13,471 3108 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2024-03-26 11:07:13,471 3108 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-03-26 11:07:13,487 3108 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-03-26 11:07:13,487 3108 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-03-26 11:07:13,487 3108 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-03-26 11:07:13,502 3108 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-03-26 11:07:14,658 3108 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-26 11:07:14,675 3108 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-26 11:07:14,675 3108 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-26 11:07:14,691 3108 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-26 11:07:14,691 3108 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-26 11:07:14,705 3108 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-26 11:07:14,705 3108 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-26 11:07:14,724 3108 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-26 11:07:14,724 3108 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-26 11:07:14,740 3108 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-03-26 11:07:14,784 3108 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2024-03-26 11:07:14,784 3108 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2024-03-26 11:07:14,799 3108 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2024-03-26 11:07:14,799 3108 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2024-03-26 11:07:14,817 3108 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2024-03-26 11:07:14,817 3108 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2024-03-26 11:07:14,833 3108 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2024-03-26 11:07:14,833 3108 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2024-03-26 11:07:14,846 3108 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2024-03-26 11:07:14,846 3108 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2024-03-26 11:07:14,863 3108 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2024-03-26 11:07:14,863 3108 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2024-03-26 11:07:14,888 3108 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2024-03-26 11:07:14,892 3108 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2024-03-26 11:07:14,892 3108 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2024-03-26 11:07:14,892 3108 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2024-03-26 11:07:14,908 3108 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2024-03-26 11:07:14,928 3108 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2024-03-26 11:07:14,928 3108 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2024-03-26 11:07:14,940 3108 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2024-03-26 11:07:15,331 3108 [INFO ] - ============================================================
|
|
2024-03-26 11:07:15,815 3108 [INFO ] - Chocolatey v2.2.2
|
|
2024-03-26 11:07:15,846 3108 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2024-03-26 11:07:15,863 3108 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2024-03-26 11:07:15,879 3108 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2024-03-26 11:07:15,914 3108 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install zabbix-agent --version 6.4.13 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-03-26 11:07:15,926 3108 [DEBUG] - Received arguments: install zabbix-agent --version 6.4.13 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-03-26 11:07:16,143 3108 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2024-03-26 11:07:16,174 3108 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2024-03-26 11:07:16,205 3108 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2024-03-26 11:07:16,472 3108 [DEBUG] - Performing validation checks.
|
|
2024-03-26 11:07:16,488 3108 [DEBUG] - Global Configuration Validation Checks:
|
|
2024-03-26 11:07:16,488 3108 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2024-03-26 11:07:16,503 3108 [DEBUG] - System State Validation Checks:
|
|
2024-03-26 11:07:16,519 3108 [DEBUG] - Reboot Requirement Checks:
|
|
2024-03-26 11:07:16,533 3108 [DEBUG] - - Pending Computer Rename = Checked
|
|
2024-03-26 11:07:16,533 3108 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2024-03-26 11:07:16,550 3108 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2024-03-26 11:07:16,550 3108 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2024-03-26 11:07:16,565 3108 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2024-03-26 11:07:16,565 3108 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2024-03-26 11:07:16,580 3108 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2024-03-26 11:07:16,596 3108 [DEBUG] - - Elevated State = Checked
|
|
2024-03-26 11:07:16,596 3108 [DEBUG] - - Folder Exists = Checked
|
|
2024-03-26 11:07:16,612 3108 [DEBUG] - - Folder lockdown = Checked
|
|
2024-03-26 11:07:16,629 3108 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2024-03-26 11:07:16,689 3108 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2024-03-26 11:07:16,752 3108 [DEBUG] -
|
|
NOTE: Hiding sensitive configuration data! Please double and triple
|
|
check to be sure no sensitive data is shown, especially if copying
|
|
output to a gist for review.
|
|
2024-03-26 11:07:16,815 3108 [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.13'|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-681ELDNMQS5'|
|
|
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'|
|
|
2024-03-26 11:07:16,831 3108 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2024-03-26 11:07:16,846 3108 [INFO ] - Installing the following packages:
|
|
2024-03-26 11:07:16,862 3108 [INFO ] - zabbix-agent
|
|
2024-03-26 11:07:16,862 3108 [INFO ] - By installing, you accept licenses for the packages.
|
|
2024-03-26 11:07:16,893 3108 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2024-03-26 11:07:16,893 3108 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2024-03-26 11:07:16,908 3108 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-03-26 11:07:16,908 3108 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-03-26 11:07:16,927 3108 [DEBUG] - * 'ChocolateyLastPathUpdate'='133558422712798339' ('User')
|
|
2024-03-26 11:07:16,927 3108 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2024-03-26 11:07:16,940 3108 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2024-03-26 11:07:16,940 3108 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2024-03-26 11:07:16,940 3108 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
|
|
2024-03-26 11:07:16,955 3108 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2024-03-26 11:07:16,955 3108 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2024-03-26 11:07:16,955 3108 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2024-03-26 11:07:16,970 3108 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-03-26 11:07:16,970 3108 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-03-26 11:07:16,970 3108 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2024-03-26 11:07:16,987 3108 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2024-03-26 11:07:16,987 3108 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
|
|
2024-03-26 11:07:16,987 3108 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2024-03-26 11:07:17,002 3108 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2024-03-26 11:07:17,002 3108 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2024-03-26 11:07:17,002 3108 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2024-03-26 11:07:18,285 3108 [DEBUG] - Running list with the following filter = ''
|
|
2024-03-26 11:07:18,316 3108 [DEBUG] - --- Start of List ---
|
|
2024-03-26 11:07:18,392 3108 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2024-03-26 11:07:19,081 3108 [DEBUG] - chocolatey 2.2.2
|
|
2024-03-26 11:07:19,112 3108 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2024-03-26 11:07:19,128 3108 [DEBUG] - KB2919355 1.0.20160915
|
|
2024-03-26 11:07:19,143 3108 [DEBUG] - KB2919442 1.0.20160915
|
|
2024-03-26 11:07:19,143 3108 [DEBUG] - KB2999226 1.0.20181019
|
|
2024-03-26 11:07:19,158 3108 [DEBUG] - KB3035131 1.0.3
|
|
2024-03-26 11:07:19,206 3108 [DEBUG] - KB3118401 1.0.5
|
|
2024-03-26 11:07:19,206 3108 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
|
|
2024-03-26 11:07:19,221 3108 [DEBUG] - --- End of List ---
|
|
2024-03-26 11:07:19,253 3108 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2024-03-26 11:07:20,439 3108 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2024-03-26 11:07:21,143 3108 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='6.4.13')
|
|
2024-03-26 11:07:21,352 3108 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='6.4.13') 204ms
|
|
2024-03-26 11:07:21,659 3108 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2024-03-26 11:07:22,332 3108 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2024-03-26 11:07:22,346 3108 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='zabbix-agent',Version='6.4.13')
|
|
2024-03-26 11:07:22,627 3108 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2024-03-26 11:07:22,643 3108 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2024-03-26 11:07:22,705 3108 [DEBUG] - Attempting to delete file "".
|
|
2024-03-26 11:07:22,767 3108 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/zabbix-agent/6.4.13
|
|
2024-03-26 11:07:23,489 3108 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/zabbix-agent/6.4.13 707ms
|
|
2024-03-26 11:07:23,549 3108 [INFO ] - [NuGet] Acquiring lock for the installation of zabbix-agent 6.4.13
|
|
2024-03-26 11:07:23,846 3108 [INFO ] - [NuGet] Acquired lock for the installation of zabbix-agent 6.4.13
|
|
2024-03-25 12:13:39,386 3108 [INFO ] - [NuGet] Installed zabbix-agent 6.4.13 from https://community.chocolatey.org/api/v2/ with content hash L9egpMAWHDyuMsno/4Es8wusnuPfVE2BPCyXxa0rc11pItaHNwzppBeJyt4tTVvBHFgjoBdsczX5nZarfyZKUA==.
|
|
2024-03-25 12:13:39,481 3108 [INFO ] - [NuGet] Adding package 'zabbix-agent.6.4.13' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-03-25 12:13:39,715 3108 [INFO ] - [NuGet] Added package 'zabbix-agent.6.4.13' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-03-25 12:13:39,731 3108 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/6.4.13\zabbix-agent.6.4.13.nupkg".
|
|
2024-03-25 12:13:39,746 3108 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/6.4.13\.nupkg.metadata".
|
|
2024-03-25 12:13:39,746 3108 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\zabbix-agent/6.4.13\zabbix-agent.6.4.13.nupkg.sha512".
|
|
2024-03-25 12:13:39,763 3108 [INFO ] -
|
|
zabbix-agent v6.4.13 (forced)
|
|
2024-03-25 12:13:39,935 3108 [INFO ] - zabbix-agent package files install completed. Performing other installation steps.
|
|
2024-03-25 12:13:40,043 3108 [DEBUG] - Setting installer args for zabbix-agent
|
|
2024-03-25 12:13:40,043 3108 [DEBUG] - Setting package parameters for zabbix-agent
|
|
2024-03-25 12:13:40,043 3108 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1':
|
|
2024-03-25 12:13:40,074 3108 [DEBUG] - $ErrorActionPreference = 'Stop';
|
|
$version = '6.4.13'
|
|
$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.13-windows-i386-openssl.zip"
|
|
file64 = "$toolsDir\zabbix_agent-6.4.13-windows-amd64-openssl.zip"
|
|
}
|
|
|
|
try {
|
|
|
|
if ($service) {
|
|
$service.StopService()
|
|
}
|
|
|
|
Get-ChocolateyUnzip @PackageArgs
|
|
|
|
if (!(Test-Path $configDir)) {
|
|
New-Item $configDir -type directory
|
|
}
|
|
|
|
if (!(Test-Path $installDir)) {
|
|
New-Item $installDir -type directory
|
|
}
|
|
|
|
foreach ($executable in $binFiles ) {
|
|
$file = Join-Path $binDir $executable
|
|
Move-Item $file $installDir -Force
|
|
}
|
|
|
|
if (Test-Path "$installDir\zabbix_agentd.conf") {
|
|
if ($service) {
|
|
$service.Delete()
|
|
Clear-Variable -Name $service
|
|
}
|
|
|
|
Move-Item "$installDir\zabbix_agentd.conf" "$configDir\zabbix_agentd.conf" -Force
|
|
|
|
}
|
|
elseif (Test-Path "$configDir\zabbix_agentd.conf") {
|
|
$configFile = "$configDir\zabbix_agentd-$version.conf"
|
|
Move-Item $sampleConfig $configFile -Force
|
|
|
|
}
|
|
else {
|
|
$configFile = "$configDir\zabbix_agentd.conf"
|
|
Move-Item $sampleConfig $configFile
|
|
|
|
}
|
|
|
|
if (!($service)) {
|
|
Start-ChocolateyProcessAsAdmin "--config `"$zabbixConf`" --install" "$zabbixAgentd"
|
|
}
|
|
|
|
Start-Service -Name $title
|
|
|
|
Install-ChocolateyPath $installDir 'Machine'
|
|
|
|
}
|
|
catch {
|
|
Write-Host 'Error installing Zabbix Agent'
|
|
throw $_.Exception
|
|
}
|
|
|
|
2024-03-25 12:13:40,122 3108 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2024-03-25 12:13:40,137 3108 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-03-25 12:13:41,357 3108 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2024-03-25 12:13:42,153 3108 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-03-25 12:13:42,167 3108 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-03-25 12:13:42,167 3108 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-03-25 12:13:42,184 3108 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-03-25 12:13:42,184 3108 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-03-25 12:13:42,199 3108 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-03-25 12:13:42,199 3108 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-03-25 12:13:42,199 3108 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-03-25 12:13:42,214 3108 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-03-25 12:13:42,214 3108 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-03-25 12:13:42,230 3108 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-03-25 12:13:42,230 3108 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-03-25 12:13:42,230 3108 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-03-25 12:13:42,246 3108 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-03-25 12:13:42,246 3108 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-03-25 12:13:42,263 3108 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-03-25 12:13:42,263 3108 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-03-25 12:13:42,277 3108 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-03-25 12:13:42,277 3108 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-03-25 12:13:42,277 3108 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-03-25 12:13:42,277 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-03-25 12:13:42,308 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-03-25 12:13:42,308 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-03-25 12:13:42,324 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-03-25 12:13:42,324 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-03-25 12:13:42,342 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-03-25 12:13:42,342 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-03-25 12:13:42,355 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-03-25 12:13:42,355 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-03-25 12:13:42,371 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-03-25 12:13:42,371 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-03-25 12:13:42,371 3108 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-03-25 12:13:42,388 3108 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-03-25 12:13:42,403 3108 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-03-25 12:13:42,403 3108 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-03-25 12:13:42,418 3108 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-03-25 12:13:42,418 3108 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-03-25 12:13:42,418 3108 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-03-25 12:13:42,434 3108 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-03-25 12:13:42,434 3108 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-03-25 12:13:42,451 3108 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-03-25 12:13:42,451 3108 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-03-25 12:13:42,466 3108 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-03-25 12:13:42,466 3108 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-03-25 12:13:42,480 3108 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-03-25 12:13:42,480 3108 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-03-25 12:13:42,497 3108 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-03-25 12:13:42,497 3108 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-03-25 12:13:42,497 3108 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-03-25 12:13:42,512 3108 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-03-25 12:13:42,512 3108 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-03-25 12:13:42,559 3108 [DEBUG] - Loading community extensions
|
|
2024-03-25 12:13:42,605 3108 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-03-25 12:13:42,605 3108 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-03-25 12:13:42,762 3108 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-03-25 12:13:42,777 3108 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-03-25 12:13:42,777 3108 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-03-25 12:13:42,793 3108 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-03-25 12:13:42,793 3108 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-03-25 12:13:42,809 3108 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-03-25 12:13:42,809 3108 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-03-25 12:13:42,824 3108 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-03-25 12:13:42,824 3108 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-03-25 12:13:42,840 3108 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-03-25 12:13:42,840 3108 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2024-03-25 12:13:42,840 3108 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2024-03-25 12:13:42,856 3108 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-03-25 12:13:42,856 3108 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-03-25 12:13:42,872 3108 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-03-25 12:13:42,872 3108 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-03-25 12:13:42,886 3108 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-03-25 12:13:42,886 3108 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-03-25 12:13:42,902 3108 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-03-25 12:13:42,902 3108 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-03-25 12:13:42,902 3108 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-03-25 12:13:42,919 3108 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-03-25 12:13:42,919 3108 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-03-25 12:13:42,933 3108 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-03-25 12:13:42,933 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-03-25 12:13:42,949 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-03-25 12:13:42,949 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-03-25 12:13:42,965 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-03-25 12:13:42,965 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-03-25 12:13:42,980 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2024-03-25 12:13:42,980 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-03-25 12:13:42,999 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-03-25 12:13:43,012 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-03-25 12:13:43,012 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-03-25 12:13:43,028 3108 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-03-25 12:13:43,028 3108 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-03-25 12:13:43,028 3108 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2024-03-25 12:13:43,044 3108 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-03-25 12:13:43,044 3108 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-03-25 12:13:43,059 3108 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2024-03-25 12:13:43,059 3108 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-03-25 12:13:43,076 3108 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-03-25 12:13:43,076 3108 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-03-25 12:13:43,089 3108 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-03-25 12:13:43,089 3108 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2024-03-25 12:13:43,106 3108 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-03-25 12:13:43,106 3108 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-03-25 12:13:43,106 3108 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-03-25 12:13:43,121 3108 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-03-25 12:13:43,137 3108 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-03-25 12:13:43,137 3108 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-03-25 12:13:43,137 3108 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-03-25 12:13:43,153 3108 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-03-25 12:13:43,153 3108 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-03-25 12:13:43,168 3108 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-03-25 12:13:43,168 3108 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-03-25 12:13:43,184 3108 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-03-25 12:13:43,184 3108 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-03-25 12:13:43,199 3108 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-03-25 12:13:43,199 3108 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-03-25 12:13:43,215 3108 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-03-25 12:13:43,215 3108 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-03-25 12:13:43,231 3108 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-03-25 12:13:43,231 3108 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2024-03-25 12:13:43,231 3108 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2024-03-25 12:13:43,246 3108 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-03-25 12:13:43,246 3108 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-03-25 12:13:43,355 3108 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-03-25 12:13:43,371 3108 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-03-25 12:13:43,371 3108 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-03-25 12:13:43,388 3108 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-03-25 12:13:43,388 3108 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-03-25 12:13:43,404 3108 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-03-25 12:13:43,419 3108 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-03-25 12:13:43,419 3108 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-03-25 12:13:43,434 3108 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-03-25 12:13:43,434 3108 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-03-25 12:13:43,450 3108 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-03-25 12:13:43,466 3108 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-03-25 12:13:43,466 3108 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-03-25 12:13:43,482 3108 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-03-25 12:13:43,499 3108 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-03-25 12:13:43,499 3108 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2024-03-25 12:13:43,512 3108 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-03-25 12:13:43,528 3108 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-03-25 12:13:43,528 3108 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-03-25 12:13:43,544 3108 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-03-25 12:13:43,563 3108 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-03-25 12:13:43,575 3108 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-03-25 12:13:43,593 3108 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-03-25 12:13:43,605 3108 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2024-03-25 12:13:43,605 3108 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-03-25 12:13:43,622 3108 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-03-25 12:13:43,622 3108 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2024-03-25 12:13:43,637 3108 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-03-25 12:13:43,654 3108 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-03-25 12:13:43,673 3108 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-03-25 12:13:43,685 3108 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-03-25 12:13:43,702 3108 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-03-25 12:13:43,702 3108 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2024-03-25 12:13:43,714 3108 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-03-25 12:13:43,714 3108 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-03-25 12:13:43,737 3108 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-03-25 12:13:43,752 3108 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-03-25 12:13:43,767 3108 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-03-25 12:13:43,783 3108 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-03-25 12:13:43,812 3108 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-03-25 12:13:43,827 3108 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-03-25 12:13:43,827 3108 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-03-25 12:13:43,840 3108 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-03-25 12:13:44,374 3108 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-03-25 12:13:44,480 3108 [DEBUG] - Running 'ChocolateyScriptRunner' for zabbix-agent v6.4.13 with packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\zabbix-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2024-03-25 12:13:44,684 3108 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
|
|
2024-03-26 11:07:40,684 3108 [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.13-windows-amd64-openssl.zip' -packageName 'zabbix-agent' -fileFullPath 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.13-windows-i386-openssl.zip'
|
|
2024-03-26 11:07:40,793 3108 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2024-03-26 11:07:41,138 3108 [INFO ] - Extracting 64-bit C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.13-windows-amd64-openssl.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix...
|
|
2024-03-26 11:07:41,497 3108 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
|
|
2024-03-26 11:07:41,840 3108 [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.13-windows-amd64-openssl.zip"]
|
|
2024-03-26 11:07:43,371 3108 [INFO ] - VERBOSE: 1 file, 4098423 bytes (4003 KiB)
|
|
2024-03-26 11:07:43,403 3108 [INFO ] - VERBOSE:
|
|
2024-03-26 11:07:43,433 3108 [INFO ] - VERBOSE: Scanning the drive for archives:
|
|
2024-03-26 11:07:43,449 3108 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
|
|
2024-03-26 11:07:43,465 3108 [INFO ] - VERBOSE:
|
|
2024-03-26 11:07:43,481 3108 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.13-windows-amd64-openssl.zip
|
|
2024-03-26 11:07:43,481 3108 [INFO ] - VERBOSE:
|
|
2024-03-26 11:07:43,497 3108 [INFO ] - VERBOSE: --
|
|
2024-03-26 11:07:43,512 3108 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.13-windows-amd64-openssl.zip
|
|
2024-03-26 11:07:43,528 3108 [INFO ] - VERBOSE:
|
|
2024-03-26 11:07:43,544 3108 [INFO ] - VERBOSE: Physical Size = 4098423
|
|
2024-03-26 11:07:43,544 3108 [INFO ] - VERBOSE: - bin\zabbix_agentd.exe
|
|
2024-03-26 11:07:43,715 3108 [INFO ] - VERBOSE: - bin\zabbix_get.exe
|
|
2024-03-26 11:07:43,715 3108 [INFO ] - VERBOSE: - bin\zabbix_sender.exe
|
|
2024-03-26 11:07:43,731 3108 [INFO ] - VERBOSE: - conf\zabbix_agentd.conf
|
|
2024-03-26 11:07:43,746 3108 [INFO ] - VERBOSE: Type = zip
|
|
2024-03-26 11:07:43,762 3108 [INFO ] - VERBOSE: Everything is Ok
|
|
2024-03-26 11:07:43,778 3108 [INFO ] - VERBOSE:
|
|
2024-03-26 11:07:43,809 3108 [INFO ] - VERBOSE: Files: 4
|
|
2024-03-26 11:07:43,827 3108 [INFO ] - VERBOSE: Size: 8976156
|
|
2024-03-26 11:07:43,840 3108 [INFO ] - VERBOSE: Compressed: 4098423
|
|
2024-03-26 11:07:44,123 3108 [DEBUG] - $exitCode was passed null
|
|
2024-03-26 11:07:44,137 3108 [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.13-windows-amd64-openssl.zip"] exited with '0'.
|
|
2024-03-26 11:07:44,293 3108 [DEBUG] - 7z exit code: 0
|
|
2024-03-26 11:07:44,355 3108 [INFO ] - C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix
|
|
2024-03-26 11:07:44,387 3108 [INFO ] - C:\ProgramData\zabbix
|
|
2024-03-26 11:07:44,418 3108 [INFO ] - C:\Program Files\Zabbix Agent
|
|
2024-03-26 11:07:44,857 3108 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -statements '--config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install' -exeToRun 'C:\Program Files\Zabbix Agent\zabbix_agentd.exe'
|
|
2024-03-26 11:07:45,059 3108 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2024-03-26 11:07:45,136 3108 [DEBUG] - Elevating permissions and running ["C:\Program Files\Zabbix Agent\zabbix_agentd.exe" --config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install]. This may take a while, depending on the statements.
|
|
2024-03-26 11:07:45,575 3108 [ERROR] - zabbix_agentd.exe [2492]: service [Zabbix Agent] installed successfully
|
|
2024-03-26 11:07:45,590 3108 [ERROR] - zabbix_agentd.exe [2492]: event source [Zabbix Agent] installed successfully
|
|
2024-03-26 11:07:45,606 3108 [DEBUG] - Command ["C:\Program Files\Zabbix Agent\zabbix_agentd.exe" --config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install] exited with '0'.
|
|
2024-03-26 11:07:45,699 3108 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2024-03-26 11:07:45,699 3108 [INFO ] - 0
|
|
2024-03-26 11:07:48,733 3108 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\Program Files\Zabbix Agent' -pathType 'Machine'
|
|
2024-03-26 11:07:48,934 3108 [DEBUG] - Running Update-SessionEnvironment
|
|
2024-03-26 11:07:48,966 3108 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
|
|
2024-03-26 11:07:50,183 3108 [INFO ] - PATH environment variable does not have C:\Program Files\Zabbix Agent in it. Adding...
|
|
2024-03-26 11:07:50,202 3108 [INFO ] - VERBOSE: Choosing not to expand environment names
|
|
2024-03-26 11:07:50,246 3108 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2024-03-26 11:07:50,372 3108 [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'
|
|
2024-03-26 11:07:50,468 3108 [DEBUG] - Registry type for Path is/will be ExpandString
|
|
2024-03-26 11:07:50,528 3108 [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); |
|
|
|
} |
|
|
|
} |
|
|
|
2024-03-26 11:07:51,183 3108 [DEBUG] - Running Update-SessionEnvironment
|
|
2024-03-26 11:07:51,199 3108 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
|
|
2024-03-26 11:07:51,605 3108 [DEBUG] - ----------------------------------------------------------------------
|
|
2024-03-26 11:07:51,621 3108 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2024-03-26 11:07:51,637 3108 [WARN ] - Only an exit code of non-zero will fail the package by default. Set
|
|
`--failonstderr` if you want error messages to also fail a script. See
|
|
`choco -h` for details.
|
|
2024-03-26 11:07:51,652 3108 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2024-03-26 11:07:51,809 3108 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2024-03-26 11:07:51,840 3108 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
|
|
see the changes (or in powershell/cmd.exe just type `refreshenv`).
|
|
2024-03-26 11:07:51,856 3108 [DEBUG] - The following values have been added/changed (may contain sensitive data):
|
|
2024-03-26 11:07:51,856 3108 [DEBUG] - * ChocolateyLastPathUpdate='133559248710594747' (User)
|
|
2024-03-26 11:07:51,872 3108 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\Zabbix Agent;' (Machine)
|
|
2024-03-26 11:07:52,058 3108 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\zabbix-agent'
|
|
2024-03-26 11:07:52,105 3108 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg'
|
|
with checksum 'F9F97E21299DA2EAEF822C8D927B5A3E'
|
|
2024-03-26 11:07:52,121 3108 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec'
|
|
with checksum 'E3899BFC449B4F60036EA61843D827F5'
|
|
2024-03-26 11:07:52,121 3108 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-6.4.13-windows-amd64-openssl.zip.txt'
|
|
with checksum 'C2F6C8C445F13624D85250D0ACBBB898'
|
|
2024-03-26 11:07:52,137 3108 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt'
|
|
with checksum '82B4494D3EFC80FBF5EA0B125B93B37D'
|
|
2024-03-26 11:07:52,137 3108 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt'
|
|
with checksum '698064D098EC10AF4D1EF20FFC7E0109'
|
|
2024-03-26 11:07:52,137 3108 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
|
|
with checksum '79AAC5173CC97C6B4EC389F4932EB3A5'
|
|
2024-03-26 11:07:52,153 3108 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1'
|
|
with checksum '1EF7B5D5AA4FC966D564939253252F18'
|
|
2024-03-26 11:07:52,184 3108 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.13-windows-amd64-openssl.zip'
|
|
with checksum '7DC1219EFC98DB6093DED150E3261884'
|
|
2024-03-26 11:07:52,216 3108 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.13-windows-i386-openssl.zip'
|
|
with checksum '8940A74918ADA905CD3BB8814ABF09DE'
|
|
2024-03-26 11:07:52,278 3108 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.13".
|
|
2024-03-26 11:07:52,340 3108 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.13\.files'
|
|
2024-03-26 11:07:52,387 3108 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.13\.extra".
|
|
2024-03-26 11:07:52,387 3108 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.13\.version".
|
|
2024-03-26 11:07:52,405 3108 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.13\.sxs".
|
|
2024-03-26 11:07:52,418 3108 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.13\.pin".
|
|
2024-03-26 11:07:52,450 3108 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2024-03-26 11:07:52,450 3108 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\.chocolateyPending".
|
|
2024-03-26 11:07:52,466 3108 [INFO ] - The install of zabbix-agent was successful.
|
|
2024-03-26 11:07:52,480 3108 [INFO ] - Software installed to 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix'
|
|
2024-03-26 11:07:52,513 3108 [WARN ] -
|
|
Chocolatey installed 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2024-03-26 11:07:52,528 3108 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2024-03-26 11:07:52,543 3108 [DEBUG] - Exiting with 0
|