Icinga PowerShell - Monitoring Windows
Find a file
Lord Hepipud a49a53204d
Merge pull request #410 from Icinga:fix/improve_test_for_add_type
Fix: Performance for Add-Type testing

With recent versions we added a feature to test if Add-Type functions are added to the current PowerShell session, ensuring that the same type is not re-added which caused errors on the error stack.

While the code works perfectly fine, it takes a long time for execution which causes the plugin `Invoke-IcingaCheckDiskHealth` for example, to take way longer than usual.

This PR prepares the future `Private` and `Public` section of the Icinga for Windows environment variables and adds an internal, quick test if a Add-Type function is already added to the current session, once being tested with the old behaviour.

This reduces the disk health plugin execution time after the first run from around 10 seconds to 2 seconds.
2021-11-25 13:16:36 +01:00
.github/ISSUE_TEMPLATE Updates framework to use new WMI/Cim wrapper 2020-07-27 11:45:02 +02:00
cache Adds support for JEA profiles 2021-09-02 09:23:10 +02:00
custom Added proper support for custom plugins / lib elements 2019-10-07 00:04:30 +02:00
doc Improves testing if Add-Type is already loaded 2021-11-25 13:12:57 +01:00
lib Improves testing if Add-Type is already loaded 2021-11-25 13:12:57 +01:00
RoleCapabilities Adds support for JEA profiles 2021-09-02 09:23:10 +02:00
templates Adds developer utilities 2021-11-07 12:10:05 +01:00
.gitattributes Adding gitattributes file 2019-12-17 17:58:45 +01:00
.gitignore Adds support for JEA profiles 2021-09-02 09:23:10 +02:00
icinga-powershell-framework.psd1 Sets next version to v1.8.0 2021-11-09 09:39:35 +01:00
icinga-powershell-framework.psm1 Adds support for JEA profiles 2021-09-02 09:23:10 +02:00
LICENSE Create LICENSE 2019-11-04 16:16:04 +01:00
PSScriptAnalyzerSettings.psd1 Disable OnSameLine & don't check space before open brace 2020-11-05 13:34:14 +01:00
README.md Updates documentation for v1.6.0 2021-09-06 15:33:39 +02:00

Icinga PowerShell Framework

The Icinga PowerShell Framework provides a wide range of configuration and check possibilities to ensure an easy integration and full monitoring of Windows environments. Each single chapter of this documentation will describe parts of the module and the possibilities.

Before you continue, please take a look at the Installation Guide

Documentation

Please take a look at the following content to get to know the possibilities of the module including examples on how to use it.

Developer Guide

If you wish to extend the Framework by yourself or write custom plugins for your environment, please have a look at the Developer Guide for detailed explanations of functions and code examples.

Contributing

The Icinga PowerShell Framework is an Open Source project and lives from your contributions. No matter whether these are feature requests, issues, translations, documentation or code.

  • Please check whether a related issue alredy exists on our Issue Tracker
  • Send a Pull Request
  • The master branch shall never be corrupt!