mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Merge pull request #369 from Icinga:fix/remove_api_checks_experimental_warning
Fix: Removes experimental warning for api check feature Removes experimental warning for Api-Check Forwarder feature and adds link to docs.
This commit is contained in:
commit
e37f55264e
2 changed files with 4 additions and 3 deletions
|
|
@ -20,6 +20,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
|
|||
* [#366](https://github.com/Icinga/icinga-powershell-framework/issues/366) Fixes error handling with Icinga Director over IMC, by printing more detailed and user-friendly error messages
|
||||
* [#367](https://github.com/Icinga/icinga-powershell-framework/issues/367) Fixes Icinga Director register state not being saved on overview after registration of Host inside Self-Service API
|
||||
* [#368](https://github.com/Icinga/icinga-powershell-framework/issues/368) Fixes repository lookup on local path for ifw.repo.json, in the json file was added to the file path during repository add
|
||||
* [#369](https://github.com/Icinga/icinga-powershell-framework/issues/369) Fixes experimental feature warning for API-Check Forwarder feature, which is fully supported since v1.6.0 and replaces it with proper information and link to docs
|
||||
|
||||
### Enhancements
|
||||
|
||||
|
|
|
|||
|
|
@ -6,16 +6,16 @@
|
|||
Enables the feature to forward all executed checks to an internal
|
||||
installed API to run them within a daemon
|
||||
.FUNCTIONALITY
|
||||
Enables the Icinga for Windows Api checks forwarded
|
||||
Enables the Icinga for Windows Api checks forwarder
|
||||
.EXAMPLE
|
||||
PS>Enable-IcingaFrameworkApiChecks;
|
||||
.LINK
|
||||
https://github.com/Icinga/icinga-powershell-framework
|
||||
https://icinga.com/docs/icinga-for-windows/latest/doc/110-Installation/30-API-Check-Forwarder/
|
||||
#>
|
||||
|
||||
function Enable-IcingaFrameworkApiChecks()
|
||||
{
|
||||
Set-IcingaPowerShellConfig -Path 'Framework.Experimental.UseApiChecks' -Value $TRUE;
|
||||
|
||||
Write-IcingaConsoleWarning 'Experimental Feature: Please ensure to install the packages "icinga-powershell-restapi" and "icinga-powershell-apichecks", install the Icinga for Windows background service and also register the daemon with "Register-IcingaBackgroundDaemon -Command {0}". Afterwards all services will be executed by the background daemon in case it is running.' -Objects "'Start-IcingaWindowsRESTApi'";
|
||||
Write-IcingaConsoleNotice 'Please ensure to install the components "icinga-powershell-restapi" and "icinga-powershell-apichecks", install the Icinga for Windows Service and also register the daemon with "Register-IcingaBackgroundDaemon -Command {0}". Afterwards all checks will be executed by the background daemon in case it is running. Further details can be found at https://icinga.com/docs/icinga-for-windows/latest/doc/110-Installation/30-API-Check-Forwarder/' -Objects "'Start-IcingaWindowsRESTApi'";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue