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

Change INSTALL.rst on the installation of Windows checks #754

Open
jprusch opened this issue Apr 5, 2024 · 1 comment
Open

Change INSTALL.rst on the installation of Windows checks #754

jprusch opened this issue Apr 5, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jprusch
Copy link

jprusch commented Apr 5, 2024

Describe the solution you'd like

Right now the INSTALL.rst states:

Nevertheless, the Icinga agent puts its files in c:\programdata\icinga2. This is why we also recommend to use this directory.

Change

  • The Icinga2 binaries and default checks are now installed in C:\Program Files\ICINGA2.
  • PluginDir on Windows points to C:\Program Files\ICINGA2\sbin

Fix

While the Linuxfabrik Windows checks can be stored in c:\programdata\icinga2\usr\lib64\nagios\plugins, the documentation is not correct on the main cause to put the checks in this directory.
Sudo is not an issue on the Windows side, so using a directory below C:\Program Files\ICINGA2\sbin like

C:\Program Files\ICINGA2\sbin\linuxfabrik

might be a better approach also from the security point of view. PluginDir can then be used and a full path is not needed.

This can be accomplished with an update to the INSTALL documentation.

Additional context

Various Windows OS with suggested deployment method for Icinga For Windows.

@jprusch jprusch added the enhancement New feature or request label Apr 5, 2024
@markuslf
Copy link
Member

markuslf commented Apr 5, 2024

Interesting, thanks. I did a quick installation using Icinga Agent v14.2 and can confirm the paths. This will lead to some changes and testing on our end.

@markuslf markuslf self-assigned this Apr 5, 2024
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

2 participants