So far I’ve deployed ~60 Windows servers using Powershell and it’s worked well.
#Import Icinga2Agent module, needs to be available in path Import-Module .\Icinga2Agent.psm1 # Set install parameters $icinga = Icinga2AgentModule -DirectorUrl 'https://fqdn/icingaweb2/director/' -DirectorAuthToken 'string' -IgnoreSSLErrors -Debugmode -RunInstaller;
The script doesn’t seem that complex, although I have to sign the certificate request on my Icinga server after completing the installation on server. I’m happy with that.
I am now looking at my workstations in greater detail, mainly trying to decide the best approach to deploy in an efficient manner. From my understanding it is currently not possible to apply flags to the MSI so that it works in a similar fashion to my Powershell.
I’d like to replicate the the above process by initially installing the MSI silently then running the node wizard, unfortunately I’m finding the wording between the Powershell options and node wizard different.
Before I sit and go through trial and error, is there anyone that could confirm the options needed to simply replicate the above Director based setup through the Setup wizard?