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

Fix Icinga Agent configuration from old PowerShell module #65

Closed
LordHepipud opened this issue Apr 28, 2020 · 0 comments
Closed

Fix Icinga Agent configuration from old PowerShell module #65

LordHepipud opened this issue Apr 28, 2020 · 0 comments
Assignees
Labels
Bug There is an issue present
Milestone

Comments

@LordHepipud
Copy link
Collaborator

Using the old PowerShell module configured the Icinga 2 Agent to write all configuration into one single icinga2.conf. The new framework is using the default config files and will encounter errors if configuration changes apply.

In addition, several Agent Cmdlets will not work properly because features like enable or disable certain features is not supported in this way.

Expected Behavior

The Framework should detect old configurations by the old module and restore the backup for the configuration file.

Current Behavior

In most cases, the configuration for the Icinga 2 Agent will be corrupt

Possible Solution

Add check for old configuration and restore original config

Steps to Reproduce (for bugs)

  1. Install the Agent by using the old module
  2. Use the new Framework to install/update the agent
  3. Change the hostname to FQDN or vice versa to provoke a crash or try enabling/disabling certain features
@LordHepipud LordHepipud added the Bug There is an issue present label Apr 28, 2020
@LordHepipud LordHepipud added this to the v1.1.0 milestone Apr 28, 2020
@LordHepipud LordHepipud self-assigned this Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug There is an issue present
Projects
None yet
Development

No branches or pull requests

1 participant