Fix: Certutil error handling and message output in case the icingaforwindows.pfx could not be created
Fixes certutil error handling and message output in case the icingaforwindows.pfx could not be created
Fix: JEA installer to exclude domain from user name length check
The domain of the provided user for JEA installation should not be included in the length check.
Windows has a maximum of 20 digits per username, which can easily be exceeded if the domain is wrongly included.
Feature: Adds new provider for fetching process information
Adds a new data provider for fetching process information of Windows systems, while sorting all objects based on a process name and their process id.
Also reports the top 10 process information for CPU and Memory consumption
Fix: Null value exceptions on checks with units
Fixes exception in some cases, when provider or metrics return values as `null` instead of `0` while units are being used for check objects.
This affects the Process plugin as one example
Fix: Update compatibility with Icinga for Windows v1.11.0
Ensures the backwards compatibility with Icinga for Windows v1.11.0, which broke the update mechanism for version checks.
The old Cmdlet's documentation implied that just by passing the
-IcingaConfig switch, an Icinga 2 configuration would be generated.
However, the first two examples does not work as intended, as
-IcingaConfig only works together with the -OutDirectory parameter.
The documentation was updated to reflect as Get-IcingaCheckCommandConfig
behaves and how one can generate Icinga 2 configurations. In addition,
a note was added to the Cmdlet's API documentation to handle
expectations of the switch.
Fix: JEA profile always modified during update process
Fixes JEA-Profiles always being updated during `Update-Icinga` calls, even when no component or non JEA related components were updated
Fix: Update-Icinga not updating to latest or specified version
Fixes `Update-Icinga` not updating to the latest available version for a component and specifying `-Version` is updating to the latest one instead of the given one instead
Fix: Clear-Host throwing exceptions during automation tasks
Fixes an issue with `Clear-Host` which could cause an exception during certain automation tasks, causing it to fail
Feature: Adds new feature to write documents easier
Adds new feature to write document content easier by storing it in memory first and then allowing to write it to disk at once with proper UTF8 encoding
New cmdlets:
* New-IcingaDocumentObject
* Add-IcingaDocumentContent
* Write-IcingaDocumentFile
Useful in case someone renames the commands in Director.
Otherwise, in this case, all commands would be broken with ifw-api as vars.ifw_api_command defaults to $command.name$.
Fix: Sync-IcingaRepository not saving SSH settings
Fixes `Sync-IcingaRepository` which did not save the SSH user and host inside the repository configuration, preventing `Update-IcingaRepository` to work properly and added missing scp progress
Fix: Config generator custom variable too long error message
Fixes error message during config generation with `Get-IcingaCheckCommandConfig` to make it more clear, in case the custom variables generated are too long for the Icinga Director import
Feature: Adds support to write the name of the repo inside the json file
Adds support to write the name of the repository synced/created into the local `ifw.repo.json` file
Feature: Adds support to not load a new PowerShell instance for command icinga
Adds support to run command `icinga` with new argument `-NoNewInstance`, to use `-RebuildCache` as example to update the current PowerShell instance with all applied changes, instead of create a new shell instance.
Does not support the argument `-DeveloperMode` in the same call, as Icinga for Window is dependent on these files for the current session.