Icinga PowerShell - Monitoring Windows
Find a file
Lord Hepipud 3ceaa22646
Merge pull request #247 from Icinga:feature/rewrite_plugin_execution
Feature: Re-Write execution of checks

We re-dessigned the handling on how checks are executed internally, to make configuration, extension and adding future features even more easier.

What is new:
* Allows to specify generic % values for thresholds, in case you added the `BaseValue` argument with the basic value for your input value to compare them as % for each other: `New-IcingaCheck -BaseValue $partition.Size`
* Allows to check for defined thresholds intervalls by the Icinga for Windows daemon, by adding `-ThresholdInterval 15m` for example to your check execution: `Invoke-IcingaCheckCPU -ThresholdInterval 1m -Warning 60%`
* Values of output data which are defined as Bytes, seconds or anything related will now always be properly translated for better readability
* Provided translations for example service states are anything related are improvement and will always apply now
* There is an optional `-AddSummary` header available, which now adds in addition to the current package header the number of Unknown, Critical, Warning or Ok services (requires Plugin update)
* In case a check is not ok, it will not added to the first package including the current value of the check for better overview
* The check functions `SetOk()`, `SetWarning()`, `SetCritical()`, `SetUnknown()` for `New-IcingaCheck` now support a input message as first value to print informations on why the check is in this state, including a `bool` value as second argument, which will look the entire check object in this state, making it unmodifyable in case it is set to `$TRUE`: `$check.SetUnknown('Your partition could not be read', $TRUE) | Out-Null`
2021-05-28 21:02:09 +02:00
.github/ISSUE_TEMPLATE Updates framework to use new WMI/Cim wrapper 2020-07-27 11:45:02 +02:00
cache Added cache folder to repository 2019-10-07 00:56:19 +02:00
custom Added proper support for custom plugins / lib elements 2019-10-07 00:04:30 +02:00
doc Re-Write execution of checks 2021-05-28 20:08:23 +02:00
lib Re-Write execution of checks 2021-05-28 20:08:23 +02:00
.gitattributes Adding gitattributes file 2019-12-17 17:58:45 +01:00
.gitignore Added cache folder to repository 2019-10-07 00:56:19 +02:00
icinga-powershell-framework.psd1 Exit-IcingaExecutePlugin throws exception for localized PerfCounters 2021-05-04 17:36:31 +02:00
icinga-powershell-framework.psm1 Supress other messages then plugin output 2021-05-19 09:19:43 +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 Adds first knowledge base entries 2020-11-18 16:39:17 +01: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!