mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2026-02-03 04:09:29 -05:00
Merge pull request #801 from Icinga:docs/update_documentation
Docs: Updates documentation
This commit is contained in:
commit
8cc5cc645c
7 changed files with 11 additions and 12 deletions
|
|
@ -74,12 +74,12 @@ Below you will find a list of currently available modules published by the Icing
|
||||||
|
|
||||||
### Extensions
|
### Extensions
|
||||||
|
|
||||||
| Icinga PowerShell REST-Api | Icinga PowerShell Inventory | Icinga PowerShell Api-Checks |
|
| Icinga PowerShell Inventory |
|
||||||
| --- | --- | --- |
|
| --- |
|
||||||
| [](https://icinga.com/docs/windows/latest/restapi/doc/01-Introduction/) | [](https://icinga.com/docs/windows/latest/inventory/doc/01-Introduction/) | [](https://icinga.com/docs/icinga-for-windows/latest/apichecks/doc/01-Introduction/) |
|
| [](https://icinga.com/docs/windows/latest/inventory/doc/01-Introduction/) | |
|
||||||
|
|
||||||
### Additional Plugins
|
### Additional Plugins
|
||||||
|
|
||||||
| Icinga PowerShell Hyper-V | Icinga PowerShell MSSQL | Icinga PowerShell Cluster |
|
| Icinga PowerShell Hyper-V | Icinga PowerShell MSSQL | Icinga PowerShell Cluster | Icinga PowerShell IIS |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- | --- |
|
||||||
| [](https://icinga.com/docs/icinga-for-windows/latest/hyperv/doc/01-Introduction/) | [](https://icinga.com/docs/windows/latest/mssql/doc/01-Introduction/) | [](https://icinga.com/docs/icinga-for-windows/latest/cluster/doc/01-Introduction/) |
|
| [](https://icinga.com/docs/icinga-for-windows/latest/hyperv/doc/01-Introduction/) | [](https://icinga.com/docs/windows/latest/mssql/doc/01-Introduction/) | [](https://icinga.com/docs/icinga-for-windows/latest/cluster/doc/01-Introduction/) | [](https://icinga.com/docs/icinga-for-windows/latest/iis/doc/01-Introduction/) |
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ Please [contact us](https://icinga.com/company/contact/) in case you require ass
|
||||||
|
|
||||||
### REST-Api and Api-Checks
|
### REST-Api and Api-Checks
|
||||||
|
|
||||||
With Icinga for Windows v1.7.0, the previously separate available components REST-Api [icinga-powershell-restapi](https://icinga.com/docs/icinga-for-windows/latest/restapi/doc/01-Introduction/) and API-Checks [icinga-powershell-apichecks](https://icinga.com/docs/icinga-for-windows/latest/apichecks/doc/01-Introduction/) are now directly baked into the Icinga PowerShell Framework. You will no longer require to install these components in addition.
|
With Icinga for Windows v1.7.0, the previously separate available components REST-Api (icinga-powershell-restapi) and API-Checks (icinga-powershell-apichecks) are now directly baked into the Icinga PowerShell Framework. You will no longer require to install these components in addition.
|
||||||
|
|
||||||
**Upgrading**: If you previously installed these components, you should remove them from the system before actively using Icinga for Windows v1.7.0, as additional changes were made in this case.
|
**Upgrading**: If you previously installed these components, you should remove them from the system before actively using Icinga for Windows v1.7.0, as additional changes were made in this case.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -376,7 +376,7 @@ This beta release has reworked the entire handling on how thresholds and the che
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
* [#383](https://github.com/Icinga/icinga-powershell-framework/pull/383) Moves the components REST-Api [icinga-powershell-restapi](https://icinga.com/docs/icinga-for-windows/latest/restapi/doc/01-Introduction/) and API-Checks [icinga-powershell-apichecks](https://icinga.com/docs/icinga-for-windows/latest/apichecks/doc/01-Introduction/) directly into the Framework
|
* [#383](https://github.com/Icinga/icinga-powershell-framework/pull/383) Moves the components REST-Api (icinga-powershell-restapi) and API-Checks (icinga-powershell-apichecks) directly into the Framework
|
||||||
* [#389](https://github.com/Icinga/icinga-powershell-framework/pull/389) Adds developer tools for easier start and management of development custom extensions for Icinga for Windows
|
* [#389](https://github.com/Icinga/icinga-powershell-framework/pull/389) Adds developer tools for easier start and management of development custom extensions for Icinga for Windows
|
||||||
* [#392](https://github.com/Icinga/icinga-powershell-framework/pull/392) Adds support to read logs from Windows EventLog while using `Read-IcingaAgentLogFile`
|
* [#392](https://github.com/Icinga/icinga-powershell-framework/pull/392) Adds support to read logs from Windows EventLog while using `Read-IcingaAgentLogFile`
|
||||||
* [#393](https://github.com/Icinga/icinga-powershell-framework/pull/393) Adds generic reader function `Read-IcingaWindowsEventLog`, allowing to read any EventLog as stream on the console and adds in addition `Read-IcingaForWindowsLog` for reading Icinga for Windows specific logs
|
* [#393](https://github.com/Icinga/icinga-powershell-framework/pull/393) Adds generic reader function `Read-IcingaWindowsEventLog`, allowing to read any EventLog as stream on the console and adds in addition `Read-IcingaForWindowsLog` for reading Icinga for Windows specific logs
|
||||||
|
|
|
||||||
|
|
@ -97,10 +97,9 @@ For quick installation, here the list of commands to get everything running:
|
||||||
```powershell
|
```powershell
|
||||||
Register-IcingaBackgroundDaemon -Command 'Start-IcingaWindowsRESTApi';
|
Register-IcingaBackgroundDaemon -Command 'Start-IcingaWindowsRESTApi';
|
||||||
Add-IcingaRESTApiCommand -Command 'Invoke-IcingaCheck*' -Endpoint 'apichecks';
|
Add-IcingaRESTApiCommand -Command 'Invoke-IcingaCheck*' -Endpoint 'apichecks';
|
||||||
|
Enable-IcingaFrameworkApiChecks;
|
||||||
|
|
||||||
Restart-IcingaForWindows;
|
Restart-IcingaForWindows;
|
||||||
|
|
||||||
Enable-IcingaFrameworkApiChecks;
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## EventLog Errors
|
## EventLog Errors
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Developer Guide: Custom API-Endpoints
|
# Developer Guide: Custom API-Endpoints
|
||||||
|
|
||||||
Starting with Icinga [PowerShell Framework v1.1.0](https://icinga.com/docs/windows/latest) plenty of features and functionality have been added for shipping data by using a REST-API. This Developer Guide will describe on how to write custom API endpoints by using the [PowerShell Framework v1.1.0](https://icinga.com/docs/windows/latest) and the [Icinga PowerShell REST-Api](https://icinga.com/docs/windows/latest/restapi/doc/01-Introduction/). In this example we will write a custom endpoint to simply provide a file list for a specific folder.
|
Starting with Icinga [PowerShell Framework v1.1.0](https://icinga.com/docs/windows/latest) plenty of features and functionality have been added for shipping data by using a REST-API. This Developer Guide will describe on how to write custom API endpoints by using the [PowerShell Framework v1.1.0](https://icinga.com/docs/windows/latest) and [REST-Api listener](../110-Installation/30-API-Check-Forwarder.md). In this example we will write a custom endpoint to simply provide a file list for a specific folder.
|
||||||
|
|
||||||
## File Structure
|
## File Structure
|
||||||
|
|
||||||
|
|
|
||||||
BIN
doc/images/02_icons/iis.png
Normal file
BIN
doc/images/02_icons/iis.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.6 KiB |
|
|
@ -172,7 +172,7 @@ function Get-IcingaCheckCommandConfig()
|
||||||
$ThresholdIntervalArg | Add-Member -MemberType NoteProperty -Name 'Name' -Value 'ThresholdInterval';
|
$ThresholdIntervalArg | Add-Member -MemberType NoteProperty -Name 'Name' -Value 'ThresholdInterval';
|
||||||
$ThresholdIntervalArg | Add-Member -MemberType NoteProperty -Name 'required' -Value $FALSE;
|
$ThresholdIntervalArg | Add-Member -MemberType NoteProperty -Name 'required' -Value $FALSE;
|
||||||
$ThresholdIntervalArg.type | Add-Member -MemberType NoteProperty -Name 'name' -Value 'String';
|
$ThresholdIntervalArg.type | Add-Member -MemberType NoteProperty -Name 'name' -Value 'String';
|
||||||
$ThresholdIntervalArg.Description | Add-Member -MemberType NoteProperty -Name 'Text' -Value 'Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.';
|
$ThresholdIntervalArg.Description | Add-Member -MemberType NoteProperty -Name 'Text' -Value 'Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described here: https://icinga.com/docs/icinga-for-windows/latest/doc/110-Installation/06-Collect-Metrics-over-Time/ An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.';
|
||||||
|
|
||||||
# Loop through ${CheckName}, to get information on every command specified/all commands.
|
# Loop through ${CheckName}, to get information on every command specified/all commands.
|
||||||
foreach ($check in $CheckName) {
|
foreach ($check in $CheckName) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue