Icinga PowerShell Framework

This PowerShell module will allow to fetch data from Windows hosts and use them for inventory and monitoring solutions. Together with the Icinga Web 2 module, a detailed overview of your Windows infrastructure will be drawn.

Release Icinga for Windows v1.9.1

1.9.1 (2022-05-13)

Bugfixes

Issue and PRs

  • #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-powershell-framework-v1.9.1.tar.gz

Release tarball
application/gzip 2022-05-12 Download from Github

Release Icinga for Windows v1.9.0

1.9.0 (2022-05-03)

Issue and PRs

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 the service 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-powershell-framework-v1.9.0.tar.gz

Release tarball
application/gzip 2022-05-02 Download from Github

Release Icinga for Windows v1.8.0

1.8.0 (2022-02-08)

Issue and PRs

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 naming mayor for the version instead of major. We will return both results to give developers time to adjust their code before removing the mayor 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 the ifw.repo.json in case a URL is returning the directory listing instead
  • #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 install icinga-powershell-restapi and icinga-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 returned Unknown for service StartType, 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 the Framework might break your environment. Not recommended in production environments for the Framework 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 the RemotePath 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 log Icinga 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 by The specified service has been marked for deletion
  • #448 Adds support to sort arrays without ScriptBlocks
  • #450 Improves show command Show-IcingaRegisteredServiceChecks, adds new command Show-IcingaRegisteredBackgroundDaemons and extends Show-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 and icinga -Shell to open a shell as done previously
  • #455 Adds support for remote execution plugin check_by_icingaforwindows

icinga-powershell-framework-v1.8.0.tar.gz

Release tarball
application/gzip 2022-02-07 Download from Github