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.10.1

1.10.1 (2022-12-20)

Issue and PRs

Bugfixes

  • #578 Fixes installation and uninstallation commands changing PowerShell location even when not necessary
  • #582 Fixes background service registration caused by migration task for v1.10.0 being executed even when no services were defined before
  • #588 Fixes threshold values causing an error because of too aggressive regex expression
  • #599 Fixes plugin argument parser to proceed with real argument names and possible provided aliases

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

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

Release Icinga for Windows v1.10.0

1.10.0 (2022-08-30)

Issue and PRs

Please have a look on the upgrading docs before upgrading to v1.10.0!

Deprecated

  • We have decided to now officially deprecate the previous installation method Start-IcingaAgentInstallWizard. It hasn't been updated or promoted in a long time and all new features have been moved to the Icinga Management Console. Please update your installation method to the new solution. The old method will be removed in a future release.

Bugfixes

  • #473 Fixes an issue with current string rendering config implementation, as string values containing whitespaces or $ are rendered wrong by default, if not set in single quotes ''
  • #476 Fixes exception You cannot call a method on va null-valued expression during installation in case no background daemon is configured
  • #482 Fixes encoding problems with special chars or German umlauts during plugin execution and unescaped whitespace in plugin argument strings like Icinga for Windows, which was previously wrongly rended as Icinga for example
  • #489 Fixes error message This argument does not support the % unit in case a BaseValue is set, but the actual value is 0
  • #503 Fixes wrong conversion of values for Convert-IcingaPluginThresholds, which did not properly handle string values containing certain units inside the string itself
  • #505 Fixes certificate generation and host registration, in case a custom hostname was set during usage of Install-Icinga automation
  • #529 Fixes package manifest reader for Icinga for Windows components on Windows 2012 R2 and older
  • #523 Fixes errors on encapsulated PowerShell calls for missing Cmdlets Write-IcingaConsoleError and Optimize-IcingaForWindowsMemory
  • #524 Fixes uninstallation process by improving the location handling of PowerShell instances with Icinga IMC or Shell
  • #528 Fixes negative thresholds being interpreted wrongly as argument instead of an value for an argument
  • #545 Fixes RemoteSource being cleared within repository .json files during Update-IcingaRepository tasks
  • #552 Fixes file encoding for Icinga for Windows v1.10.0 to ensure the cache is always properly created with the correct encoding
  • #553 Fixes an exception caused by service recovery setting, if the required service was not installed before
  • #556 Fixes the certificate folder not present during first installation, preventing permissions properly set from the start which might cause issues once required
  • #562 Fixes corrupt Performance Data, in case plugins were executed inside a JEA context without the REST-Api
  • #563 Fixes checks like MSSQL using arguments of type SecureString not being usable with the Icinga for Windows REST-Api
  • #565 Fixes internal cache file writer and reader to store changes inside a .tmp file first and validating the file state and content, before applying it to the actual file to prevent data corruption
  • #566 Fixes useless testing and printing of error messages, in case the Icinga Agent is not installed during installation and Icinga for Windows printing plenty of errors, because the ACL checks cannot be completed because of the missing Agent
  • #568 Fixes misleading SID error during uninstallation of Icinga for Windows or the Agent component

Enhancements

  • #40 Adds support to set service recovery for the Icinga Agent and Icinga for Windows service, to restart them in case of a crash or error
  • #485 Adds new style for performance data labels, to use the multi output format, allowing for better filtering and visualisation with InfluxDB and Grafana
  • #502 Adds support for hostname override for old installer function Start-IcingaAgentInstallWizard [moreamazingnick]
  • #525 Adds new developer mode for icinga command and improved cache handling, to ensure within -DeveloperMode and inside a VS Code environment, the framework cache file is never overwritten, while still all functions are loaded and imported.
  • #531 Adds Test-IcingaStateFile and Repair-IcingaStateFile, which is integrated into Test-IcingaAgent, to ensure the Icinga Agent state file is healthy and not corrupt, causing the Icinga Agent to fail on start
  • #534 Improves Icinga and Director configuration generator, by wrapping PowerShell arrays inside @() instead of simply writing them comma separated
  • #536 Adds new function Test-IcingaArrayFilter for easier include and exclude filtering during plugin runtime and to allow filtering of array content for intended values only
  • #560 Improves handling for Icinga Management Console which will now terminate itself during full uninstallation and restarts after updating the Icinga PowerShell Framework, to apply changes directly
  • #569 Adds -Include and -Exclude filter for EventLog CLI parser, to only contain certain messages or exclude them from the output

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

Release tarball
application/gzip 2022-08-30 Download from Github

Release Icinga for Windows v1.9.2

1.9.2 (2022-06-03)

Issue and PRs

Bugfixes

  • #529 Fixes package manifest reader for Icinga for Windows components on Windows 2012 R2 and older

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

Release tarball
application/gzip 2022-06-03 Download from Github