Icinga / Icinga/icinga-powershell-framework
When updating the agent, save indiviudal settings from the icinga service
@LordHepipud is already working on this.
Since Jan 11, 2021.
- Dominant language
- PowerShell
- Stars
- 87
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
Maybe it's a bug or a feature request for you - your decision :-) :
We set some individual settings to the icinga service, like if the icinga service is crashing, the service should restart automatic.
e.g.:

If you start the Cmdlet "Start-IcingaAgentInstallWizard" fyou uninstall the old version and than you install the new version. It looks like during the uninstall process the service will be deleted and after the install the service will be recreated.

While a backup of the icinga configuration will be created during the hole update process and restored afterwards, this should also be done with the settings of the service.
Expected Behavior
Save indiviudal settings of the service, if set and restore it after the update process. This could also be switch, for people who think this should not be don automatic.
Your Environment
Tested with W2012R2, W2016 and W2019
PS: 4.6 and 4.7
Icinga-PowerShell-Framework 1.3.0
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.