Can't use private IcingaRepository
@LordHepipud ya está trabajando en esto.
Desde el 10/2/2022.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Hello,
When we try to install icinga for windows with a private repo of Icinga, the installation still try to use the default repository.
Can you help us with this process ?
Expected Behavior
Install Icinga with our private repository.
Following the documentation of Automated installation with InstallCommand and own IcingaRepository
Current Behavior
When trying to install Icinga for Windows in offline mode, it still try to download from the internet.
Steps to Reproduce (for bugs)
- Create a sync repository on a windows server with ;
Sync-IcingaRepository `
-Name 'Icinga Stable Local' `
-Path 'E:\Repo_icinga\icinga_stable' `
-RemotePath '\\WINSERVER\Repo_icinga\icinga_stable' `
-Source 'https://packages.icinga.com/IcingaForWindows/stable'
And make sure it's enable:
Enable-IcingaRepository -Name 'Icinga Stable Local'
-
Set the permission of the shared folder Repo_icinga
-
Create a powershell script based on the one on the installation page:
[Net.ServicePointManager]::SecurityProtocol = 'tls12, tls11';
$ProgressPreference = 'SilentlyContinue';
[string]$ScriptFile = 'C:\Users\Public\IcingaForWindows.ps1';
Invoke-WebRequest `
-UseBasicParsing `
-Uri '\\WINSERVER\Repo_icinga\IcingaForWindows.ps1' `
-OutFile $ScriptFile;
& $ScriptFile `
-ModuleDirectory 'C:\Program Files\WindowsPowerShell\Modules\' `
-InstallCommand '{"IfW-DirectorSelfServiceKey":{"Values":["AAAAABBBBCCCCCDDDDD"]},"IfW-DirectorUrl":{"Values":["http://ICINGA_SERVER/icingaweb2/director"]}}' `
-IcingaRepository '\\WINSERVER\Repo_icinga\icinga_stable\ifw.repo.json';
- On another server we execute the script.
It download and launch correctly the IcingaForWindows.ps1.
But then try to download on the internet:

Context
We have a bunch of server without internet connection and therefore can't be added to our monitoring system.
Thank you for your help.
Your Environment
- PowerShell Version used : 5.1
- Operating System and version: Windows server 2016
- Latest version of Icinga as of today (10/02)
- Lenguaje dominante
- PowerShell
- Estrellas
- 86
- Forks
- 34
- Merge medio
- 4 d 11 h
- PR fusionados (30 d)
- 2
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Icinga/icinga-powershell-framework
-
Dificultad 3/5 Medio día Aptitud para principiantes 70/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
Icinga/icinga-powershell-framework#883 · 1 reacción ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100