Skip to content

Commit e37f552

Browse files
authored
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.
2 parents 78cab91 + f67a5ce commit e37f552

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc/100-General/10-Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
2020
* [#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
2121
* [#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
2222
* [#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
23+
* [#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
2324

2425
### Enhancements
2526

lib/core/framework/Enable-IcingaFrameworkApiChecks.psm1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
Enables the feature to forward all executed checks to an internal
77
installed API to run them within a daemon
88
.FUNCTIONALITY
9-
Enables the Icinga for Windows Api checks forwarded
9+
Enables the Icinga for Windows Api checks forwarder
1010
.EXAMPLE
1111
PS>Enable-IcingaFrameworkApiChecks;
1212
.LINK
13-
https://github.com/Icinga/icinga-powershell-framework
13+
https://icinga.com/docs/icinga-for-windows/latest/doc/110-Installation/30-API-Check-Forwarder/
1414
#>
1515

1616
function Enable-IcingaFrameworkApiChecks()
1717
{
1818
Set-IcingaPowerShellConfig -Path 'Framework.Experimental.UseApiChecks' -Value $TRUE;
1919

20-
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'";
20+
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'";
2121
}

0 commit comments

Comments
 (0)