hello
We can’t install icinga agent for windows on our windows 2016 servers.
here is the script we use :
Use-Icinga;
Start-IcingaAgentInstallWizard -DirectorUrl 'https://server.test.local/icingaweb2/director/'
-SelfServiceAPIKey ‘5c4fcfcead2910e3f532c4473f922ee7161cdb9e’ -UseDirectorSelfService 1
-OverrideDirectorVars 0 -Reconfigure
-RunInstaller
[Error]: The remote host for address “https://server.test.local/icingaweb2/director/self-service/powershell-parameters?key=c6c2d84b669f96b464aac2c408a04df52778a7bb” could not be resolved
[Error]: Your local stored host key is no longer valid. Using provided template key
[Notice]: Host was successfully registered within Icinga Director
[Error]: The remote host for address “https://server.test.local/icingaweb2/director/self-service/ticket?key=a059332a52ec5576db5469ae4b7e2526628807c0” could not be resolved
ScriptHalted
Au caractère C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\cache\framework_cache.psm1:109 : 9
throw $response.Content;
~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : OperationStopped: ( [], RuntimeException
FullyQualifiedErrorId : ScriptHalted
we don’t use satellites, only one master and many agents
- director version 1.8.1
- Icinga Web 2 Version 2.9.3 and modules (System - About):
- Icinga 2 version r2.13.1-1
- Operating System and version Ubuntu 20.04.3 LTS (Focal Fossa)
- Webserver, PHP versions: 7.4.3