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

Icinga2 installation on Windows (.NET framework) #7413

Closed
dolefi opened this issue Aug 12, 2019 · 5 comments
Closed

Icinga2 installation on Windows (.NET framework) #7413

dolefi opened this issue Aug 12, 2019 · 5 comments
Labels
area/windows Windows agent and plugins wontfix Deprecated, not supported or not worth any effort

Comments

@dolefi
Copy link

dolefi commented Aug 12, 2019

Is your feature request related to a problem? Please describe.

Hello, I have had time to look trough the documentation regarding upgrading windows clients to version 2.11+
What I do not understand is why the new instalator for windows client needs .NET framework version 4.6. We have large enviroment of servers with different versions of .NET frameworks that the applications running on those servers are dependant on and therefore we are simply unable to upgrade .NET framework sorely for Icinga installator (server2012 mainly).

image

Describe the solution you'd like

Would it be possible, to create installator, without the need for .NET 4.6 if it is not application related dependency ? Or create installator without the GUI all together, so that installation via msiexec is possible.

Describe alternatives you've considered

I can think of 2 sollutions, either cut down the need for .NET version, or simply create only command line installator (Lite version) if it is possible.

Additional context

Thank you for all your inputs, please let me know, if this is something completely unrelated, and therefore cannot be done, or if it would be possible, as with the dependency on .NET 4.6 we are simply unable to even consider the 2.11 version of icinga.

Best regards,
Filip

@dnsmichi
Copy link
Contributor

Hi,

this has been discussed for quite a while, and resulted in the evaluation and extensive tests in #7090. Previously we had to require users to install .NET 2.0 resp. 3.5 as additional package on Server 2016 and onwards. In order to resolve this requirement, we made the decision to require .NET 4.6 which is available on Windows 10 & Server 2016 or newer by default. This also enables us to improve the setup wizard in future versions, likewise adding support for ECC certificates in #7323.

Older systems such as 2012 whose primary support already ended, need to install the .NET framework. Since Microsoft decided to drop support for specific older .NET versions, Windows update will bring the .NET 4.6 package to Windows hosts either way. And likely you should update them for security and performance reasons.

Our Windows package works as complete setup, providing both the binaries and the setup wizard. Users who prefer to automate their installation - like you mentioning msiexec - need to take care of the requirements beforehand.

There's no plans to split this up in the near future, as it complicates the setup experience which should be as convenient as possible. This is also the reason why the GUI exists on Windows, since not that many users prefer using the command line there.

TL;DR - with 2.11, .NET 4.6 is a definite requirement dropping the .NET 3.5 requirement. If you're planning to upgrade, evaluate whether this update conforms with your applications. I'd say if they are on 4.x already, there shouldn't be a problem with it.

Cheers,
Michael

@dnsmichi dnsmichi added area/windows Windows agent and plugins wontfix Deprecated, not supported or not worth any effort labels Aug 12, 2019
@elderorange
Copy link

I totally agree to your argumentation.
We have deadlines for these systems running older .net versions.
Till then I found a way to let them run on icinga2 version 2.11.2.

Can a post the workarounds that I found?

@dolefi
Copy link
Author

dolefi commented Nov 21, 2019

Hi, well in the end I forcefully removed .NET check from the package itself (.msi).
That lets us install the client completely without any issues and as long as we don't use the graphical binary everything works as it should.

@elderorange
Copy link

Jap, that's the cleaner way by dropping the requierment.
Another dirty one ist to overwrite an existing version by an already installed client folder skipping the relevant configs and certs.

@dnsmichi
Copy link
Contributor

Sure, why not. Keep in mind that you won't get any support for these modified versions though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/windows Windows agent and plugins wontfix Deprecated, not supported or not worth any effort
Projects
None yet
Development

No branches or pull requests

3 participants