Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start-IcingaAgentInstallWizard creates director host object without ip address #31

Closed
R-Sommer opened this issue Nov 29, 2019 · 5 comments
Assignees
Labels
Enhancement New feature or request
Milestone

Comments

@R-Sommer
Copy link

R-Sommer commented Nov 29, 2019

Expected Behavior

Start-IcingaAgentInstallWizard should create a director host object with its ip address or its fqdn

Current Behavior

Host address is empty

@log1-c
Copy link
Contributor

log1-c commented Nov 29, 2019

Can confirm this:
image

Wizard Output:

The wizard is complete. These are the configured settings:
========
-UseDirectorSelfService 1
-DirectorUrl http://192.168.63.35/icingaweb2/director
-AddFirewallRule True
-AcceptConnections True
-Ticket '53...      <<< 
-EmptyTicket
-InstallFrameworkPlugins 1
-PluginsUrl 'https://github.com/Icinga/icinga-powershell-plugins/archive/v1.0.0-rc1/v1.0.0-rc1.zip'
-InstallFrameworkService 1
-FrameworkServiceUrl 'https://github.com/Icinga/icinga-powershell-service/releases/download/v1.0.0/icinga-service-v1.0.0
.zip'
-ServiceDirectory 'C:\Program Files\icinga-framework-service\'
-ServiceBin 'C:\Program Files\icinga-framework-service\icinga-service.exe'
-RunInstaller

I think there is also a ' missing in the Wizards output for the Ticket, maybe that correlates with the problem?

@LordHepipud
Copy link
Collaborator

This is actually not supported yet, because we are discussing internally on how to approach this in the future.

Do you have other ways in your environment available to set / override the IP (like Director imports) or are you using the module only?

This will help in providing a proper solution in the future.

@LordHepipud LordHepipud self-assigned this Dec 2, 2019
@LordHepipud LordHepipud added the Enhancement New feature or request label Dec 2, 2019
@R-Sommer
Copy link
Author

R-Sommer commented Dec 2, 2019

If the question belongs to me: I just use the module.

@LordHepipud
Copy link
Collaborator

Basicly the first draft would look like the following:

  • The Framework will ask during the Wizard which Address the Host should be registered with
  • You can either use the auto-detected address then, use a manual entered one or leave it alone
  • The Director will in the future no longer override empty values. Which means if an address is set on the Director and you register the Host without IP, it will be left alone

Any suggesstions / extensions / ideas / improvements on this required?

@R-Sommer
Copy link
Author

R-Sommer commented Dec 3, 2019

  • If there is just one NIC the Framework should not ask
  • If a client has multiple NICs the NIC within the Master's ip network should be selected
  • An option should allow to register with FQDN instead (which is required if DHCP is used)
  • The Wizard should ask about the parent zone

@LordHepipud LordHepipud added this to the v1.0.0-rc2 milestone Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants