-
Notifications
You must be signed in to change notification settings - Fork 31
Description
We have trouble setting up the Icinga Agent on a german Windows Server 2025 system. It only works if we run the our install script for a second time.
This is our install script:
`Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
Invoke-WebRequest -UseBasicParsing -Uri 'http://<servername>/IcingaForWindows/IcingaForWindows.ps1' -OutFile C:\Temp\IcingaForWindows.ps1;
C:\Temp\IcingaForWindows.ps1 -IcingaRepository 'http://<servername>/IcingaForWindows/stable/ifw.repo.json' -ModuleDirectory 'C:\Program Files\WindowsPowerShell\Modules\' -SkipWizard;
Use-icinga;
Install-Icinga -InstallCommand '{"IfW-ParentAddress":{"Values":{"<servername>":["<IP>"],"<servername>t":["<IP>"]}},"IfW-Hostname":{"Selection":"1"},"IfW-Certificate":{"Selection":"0"},"IfW-ParentZone":{"Values":["satellite01"]},"IfW-StableRepository":{"Values":["http://<servername>/IcingaForWindows/stable/ifw.repo.json"]},"IfW-Connection":{"Selection":"0"},"IfW-ParentNodes":{"Values":["<servername>","<servername>"]}}' -Force;
`
This is the error log on our german system:
Konfigurieren von EINGESCHRÄNKTE DIENSTE\ALLE EINGESCHRÄNKTEN DIENSTE. Fehler 1332: Zuordnungen von Kontennamen und Sicherheitskennungen wurden nicht durchgeführt. EINGESCHRÄNKTE DIENSTE\ALLE EINGESCHRÄNKTEN DIENSTE wurde nicht gefunden. Konfigurieren von S-1-5-80-3139157870-2983391045-3678747466-658725712-1809340420. Fehler 18: Es sind keine weiteren Dateien vorhanden.
However we tested the same install script on an english system and got no errors:
Note that if we run the same script a second time on the german system it works just fine.