Releases: Icinga/icinga-powershell-framework
Icinga for Windows v1.9.2
1.9.2 (2022-06-03)
Bugfixes
- #529 Fixes package manifest reader for Icinga for Windows components on Windows 2012 R2 and older
Icinga for Windows v1.9.1
1.9.1 (2022-05-13)
Bugfixes
- #519 Fixes missing loading of Icinga for Windows modules, which is required to ensure an Icinga for Windows environment is providing all commands and variables to a session, allowing other modules to access these information
- #520 Adds missing
Import-IcingaPowerShellComponent
function while creating new components by using the developer tools
Icinga for Windows v1.9.0
1.9.0 (2022-05-03)
Bugfixes
- #472 Fixes random errors while dynamically compiling Add-Type code by now writing a DLL inside
cache/dll
for later usage - #478 Fixes connection option "Connecting from parent system" which is not asking for ca.crt path
- #479 Fixes possible exceptions while trying to remove downloaded repository temp files which might still contain a file lock from virusscanners or other tasks
- #480 Fixes service locking during Icinga Agent upgrade and ensures errors on service management are caught and printed with internal error handling
- #483 Fixes REST-Api SSL certificate lookup from the Icinga Agent, in case a custom hostname was used or in certain domain environments were domain is not matching DNS domain
- #490 Fixes the command
Uninstall-IcingaComponent
for theservice
component which is not doing anything - #491 Fixes GC collection with
Optimize-IcingaForWindowsMemory
for every incoming REST connection call - #497 Fixes loop sleep for idle REST-Api threads by replacing them with BlockingCollection ConcurrentQueue
Enhancements
- #469 Improves plugin doc generator to allow multi-lines in code examples and updates plugin overview as table, adding a short description on what the plugin is for
- #495 Adds feature to check the sign status for the local Icinga Agent certificate and notifying the user, in case the certificate is not yet signed by the Icinga CA
- #496 Improves REST-Api default timeout for internal plugin execution calls from 30s to 120s
- #498 Adds feature for thread queuing optimisation and frozen thread detection for REST calls
- #514 Adds support for Icinga for Windows module isolation
Icinga for Windows v1.8.0
1.8.0 (2022-02-08)
Bugfixes
- #273 Fixes exceptions and freezes while using Icinga for Windows within an PowerShell ISE session and informing the user properly about the limitations
- #291 Fixes
Split-IcingaVersion
by returning data with namingmayor
for the version instead ofmajor
. We will return both results to give developers time to adjust their code before removing themayor
object - #379 Fixes memory leak for Icinga for Windows by using a custom function being more aggressive on memory cleanup
- #380 Fixes exception while using
Use-Icinga
inside the same shell Icinga for Windows is installed for the first time on the system - #394 Fixes lookup time for Icinga managed user for large Active Directory environments by limiting lookup to local system only
- #402 Fixes missing address attribute for REST-Api daemon, making it unable to change the listening address
- #403 Fixes memory leak on newly EventLog reader for CLI event stream
- #407 Removes unnecessary module import inside
Invoke-IcingaNamespaceCmdlets
- #409 Fixes URL builder for
Sync-IcingaRepository
which will now properly test the JSON file and try a secondary fallback by pointing to theifw.repo.json
in case a URL is returning the directory listing instead - #411 Fixes Icinga Director error message output because of missing
[string]::Format()
- #412 Fixes possible defective state of the Icinga Agent by using a custom service user for JEA profiles which is larger than 20 digits
- #414 Fixes Service Check Daemon with a total rewrite to improve performance, decrease required resources and fix memory leaks
- #418 Fixes crash on wrong variable usage introduced by #411
- #421 Fixes experimental state of
API Check
feature by removing that term and removing the requirement to installicinga-powershell-restapi
andicinga-powershell-apichecks
- #436 Fixes a lookup error for existing plugin documentation files, which caused files not being generated properly in case a similar name was already present on the system
- #439 Moves PerformanceCounter to private space from previous public, which caused some problems
- #441 Fixes an exception while loading the Framework, caused by a race condition for missing environment variables which are accessed by some plugins before the Framework is loaded properly
- #443 Fixes
Get-IcingaServices
which returnedUnknown
for serviceStartType
, in case the-Service
argument contained values with wildcard*
- #446 Fixes Icinga for Windows progress preference, which sometimes caused UI glitches
- #449 Fixes unhandled exception while importing modules during
Install-IcingaComponent
process, because of possible missing dependencies - #451 Fixes PowerShell being unable to enter JEA context if only the Framework is installed and removes the
|
from plugin output, in case a JEA error is thrown that check commands are not present - #452 Fixes unhandled
true
output on the console while running the installer - #454 Fixes JEA catalog compiler and background daemon execution in JEA context
- #456 Fixes JEA service error count not resetting itself after a certain amount of time without errors
- #458 Fixes
Install-IcingaSecurity
which should only run in an administrative shell - #459 Fixes
Update-Icinga
which was not working to downgrade snapshot packages pack to release (NOTE: It can still happen that migrations of theFramework
might break your environment. Not recommended in production environments for theFramework
component) - #460 Fixes Icinga Agent installation over IMC and Director Self-Service, in case the Self-Service is configured to not install the Icinga Agent or the user manually set
Do not install Icinga Agent
inside the IMC, which results in most configurations not being applied to the Agent, in case it is already installed - #461 Fixes
Add-IcingaRepository
which now only overrides theRemotePath
by using-Force
instead of removing and adding the repository again, causing problems with installation orders over IMC for example - #464 Fixes Icinga for Windows uninstaller which did not remove the service binary for the PowerShell service
Enhancements
- #388 Improves performance for testing if
Add-Type
functions have been added, by adding an internal test for newly introduced environment variables within a PowerShell session - #417 Adds support to allow the force creation of Icinga Agent certificates, even when they are already present on the system over Icinga Management Console installation
- #427 Moves Icinga for Windows EventLog from
Application
to a custom logIcinga for Windows
, allowing better separation - #438 Adds support for enabling the REST-Api background daemon and the Api-Check feature during the IMC installation wizard on advanced settings, which will be enabled by default
- #440 Adds upgrade notification if Icinga for Windows Service binary older than v1.2.0 is used, which will not work with Icinga for Windows v1.8.0 or later
- #445 Adds command
Repair-IcingaService
to repair Icinga Agent service in case it was broken during upgrades, mostly caused byThe specified service has been marked for deletion
- #448 Adds support to sort arrays without ScriptBlocks
- #450 Improves show command
Show-IcingaRegisteredServiceChecks
, adds new commandShow-IcingaRegisteredBackgroundDaemons
and extendsShow-Icinga
by both commands and adds debug and api forwarder features to environment list - #453 Reworks Icinga Management Console menu structure and naming and changes the default behavior of executing
icinga
to now open the IMC by default andicinga -Shell
to open a shell as done previously - #455 Adds support for remote execution plugin check_by_icingaforwindows
Icinga for Windows v1.7.1
1.7.1 (2021-11-11)
Bugfixes
- #398 Fixes String.Builder object output, while creating new components by using
New-IcingaForWindowsComponent
- #399 Fixes repository file hash generator, which now only includes .zip and .msi files, which otherwise turned into invalid hashes because of the repository index file always changing based on the assigned hash
- #401 Fixes the repository manager by now using Icinga WebRequests instead of Windows WebRequests, allowing the usage of the internal proxy feature
Fixing Repository Sync-Issues:
Before you can upgrade to v1.7.0 or v1.7.1 and you are using the repository sync and repositories, you will have to sync the repository by using the -ForceTrust
argument first, as otherwise the older versions will fail on the same step by validating the hashes. If you want to stay secure and do not wish to force the trust of the repository, you can manually apply the patch for the Icinga for Windows environment you want to run the sync from. Once applied, simply run the following command
icinga -RebuildCache;
and start the sync process from this new shell.
Icinga for Windows v1.7.0
1.7.0 (2021-11-09)
Bugfixes
- #375 Fixes exception on last message printed during
Uninstall-IcingaForWindows
, because the prior used function is no longer present at this point - #376 Fixes IMC error handling on invalid JSON for installation command/file
- #377 Fixes overhead for testing of modules being loaded, which returned invalid path values and wrong exceptions, which was unnecessary in first place
- #381 Fixes Repository Hash generator for new repositories, which always returned the same hash regardless of the files inside
- #386 Fixes check command config generator for Icinga Director baskets/Icinga 2 conf files, in case we are using a check command with an alias as reference to a new name of a check command
- #387 Fixes config generator to use alias names for command arguments/parameters in case available instead of the real name
- #390 Fixes threshold interval time conversion by using
-ThresholdInterval
with values that cause the usedTimeSpan
object to move from minutes to hours, like60m
and1h
- #395 Fixes
-ThresholdInterval
data type inside auto generated docs for plugins, which was of typeObject
, but should be of typeString
Enhancements
- #383 Moves the components REST-Api icinga-powershell-restapi and API-Checks icinga-powershell-apichecks directly into the Framework
- #389 Adds developer tools for easier start and management of development custom extensions for Icinga for Windows
- #392 Adds support to read logs from Windows EventLog while using
Read-IcingaAgentLogFile
- #393 Adds generic reader function
Read-IcingaWindowsEventLog
, allowing to read any EventLog as stream on the console and adds in additionRead-IcingaForWindowsLog
for reading Icinga for Windows specific logs - #396 Adds function
Publish-IcingaPluginDocumentation
from plugins directly into the Framework
Icinga for Windows v1.6.1
1.6.1 (2021-09-15)
Bugfixes
- #361 Fixes IMC freeze on Icinga Director Self-Service installation, in case no Agent installation set on Self-Service API config
- #362 Fixes repository component installation from file share locations
- #363 Fixes unneeded continue for JEA process lookup, in case no JEA pid is present
- #365 Fixes Icinga environment corruption on Icinga Agent installation failure
- #366 Fixes error handling with Icinga Director over IMC, by printing more detailed and user-friendly error messages
- #367 Fixes Icinga Director register state not being saved on overview after registration of Host inside Self-Service API
- #368 Fixes repository lookup on local path for ifw.repo.json, in the json file was added to the file path during repository add
- #369 Fixes experimental feature warning for API-Check Forwarder feature, which is fully supported since v1.6.0 and replaces it with proper information and link to docs
- #371 Fixes wrong indention on Icinga parent host address at IMC configuration summary overview
- #373 Fixes repository names with dots (
.
) by replacing them with-
, as otherwise the config parser will fail finding the config object
Enhancements
Icinga for Windows v1.6.0
1.6.0 (2021-09-07)
Bugfixes
- #300 Fixes an issue on
Boolean
to emptyString
conversion for possible maximum values on check plugins on Windows 2012 R2 - #311 Fixes an issue with negative inputs on some scenarios which will cause an exception for checks instead of continuing executing them properly
- #317 Fixes certain file names being too long, causing errors on deploying branches
- #326 Fixes import for module files, by using the full path to the module now instead of the name only, as files could be placed inside a folder which is not listed inside the
$ENV:PSModulePath
- #327 Fixes possible exception on first import run for certain systems
- #328 Fixes installer while using installation files or the installation command, which did not overwrite default values with custom values
- #330 Fixes
Remove-ItemSecure
which was not using all args and might fail on empty path entries - #332 Fixes Icinga Director Self-Service ticket handling, which was not working within the Icinga Management Console
- #335 Fixes Icinga Director Self-Service Zones and CA config for legacy installation wizard
- #343 Fixes freeze within Icinga Management Console, in case commands which previously existed were removed/renamed or the user applied an invalid configuration with unknown commands as install file or install command
- #345 Fixes Framework environment variables like
$IcingaEnums
not working with v1.6.0 - #351 Fixes file writer which could cause corruption on parallel read/write events on the same file
- #359 Fixes Plain Plugin Cmdlet execution on shell
Enhancements
- #301 Improves error handling to no longer print passwords in case
String
is used forSecureString
arguments - #303 Adds support to parse arrays to Icinga Check thresholds functions like
WarnOutOfRange
and adds two new functionsWarnDateTime
andCritDateTime
, for easier comparing of time stamps. - #305 Adds a new Cmdlet to test if functions with
Add-Type
are already present inside the current scope of the shell - #306 Adds new Cmdlet
Exit-IcingaThrowCritical
to throw critical exit with a custom message, either by force or by using string filtering and adds storing of plugin exit codes internally - #310 Adds repository management to install components very easily from one or multiple defined source locations
- #314 Adds support to configure on which address TCP sockets are created on, defaults to
loopback
interface - #316 The reconfigure menu was previously present inside the Icinga Agent sub-menu and is now moved to the main installation menu for the Management Console
- #318 We always enforce the Icinga Framework Code caching now and ship a plain file to build the cache on first loading
- #322 Remove legacy import feature from Framework and replace it with a dummy function, as no longer required by Icinga for Windows
- #323 Adds
-RebuildCache
switch toicinga
command alias andInvoke-IcingaCommand
, for quicker cache re-creation for developers - #333 Adds Cmdlet
Test-IcingaForWindowsService
to test the Icinga for Windows service configuration - #338 Improves various styles, outputs and view for the Icinga for Windows Management Console and fixes some spelling mistakes
- #342 Adds feature to print commands being executed by the Icinga Management Console with
l
and improves summary visualisation for better readability - #346 Adds support for version names for snapshots
- #348 Improves debug output on TCP handling by separating several network messages into multiple messages and by logging the send message to the client
- #354 Adds extended Repository management to Icinga Management Console
Icinga for Windows v1.5.2
1.5.2 (2021-07-09)
Security Fixes
- #298 Fixes possible security vulnerability on Icinga for Windows service registration, by not quoting the service path on registration
You can read more on this on the Knowledge Base Entry with further details, on how to apply the fix and test if you are affected.
Icinga for Windows v1.4.2
1.4.2 (2021-07-09)
Security Fixes
- #298 Fixes possible security vulnerability on Icinga for Windows service registration, by not quoting the service path on registration
You can read more on this on the Knowledge Base Entry with further details, on how to apply the fix and test if you are affected.