diff --git a/doc/100-General/10-Changelog.md b/doc/100-General/10-Changelog.md index 307d0f0..5f0c4fe 100644 --- a/doc/100-General/10-Changelog.md +++ b/doc/100-General/10-Changelog.md @@ -16,6 +16,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic * [#861](https://github.com/Icinga/icinga-powershell-framework/pull/861) Fixes `Update-IcingaWindowsUserPermission` to ensure permissions for logon as service are granted for non-managed users, while the removal process and any logon deny rights are never touched to not break possible third-party software and manually user configuration for those users * [#864](https://github.com/Icinga/icinga-powershell-framework/pull/864) Fixes process provider which could throw an exception for integer overflow on memory usage * [#866](https://github.com/Icinga/icinga-powershell-framework/pull/866) Fixes an issue with the Icinga for Windows permission grant for the managed `icinga` user to logon as service, which causes other added local/domain users having this permission revoked for them +* [#867](https://github.com/Icinga/icinga-powershell-framework/pull/867) Fixes missing pool registering for metrics over time daemon ## 1.14.1 (2026-02-11) diff --git a/lib/daemons/ServiceCheckDaemon/daemon/Start-IcingaServiceCheckDaemon.psm1 b/lib/daemons/ServiceCheckDaemon/daemon/Start-IcingaServiceCheckDaemon.psm1 index af37ddc..c6df2fa 100644 --- a/lib/daemons/ServiceCheckDaemon/daemon/Start-IcingaServiceCheckDaemon.psm1 +++ b/lib/daemons/ServiceCheckDaemon/daemon/Start-IcingaServiceCheckDaemon.psm1 @@ -22,9 +22,11 @@ function Start-IcingaServiceCheckDaemon() { - New-IcingaThreadInstance ` - -Name 'Main' ` - -ThreadPool (Get-IcingaThreadPool -Name 'ServiceDaemonPool') ` - -Command 'Add-IcingaServiceCheckDaemon' ` - -Start; + Add-IcingaThreadPool -Name 'ServiceDaemonPool' -MaxInstances 100; + + New-IcingaThreadInstance ` + -Name 'Main' ` + -ThreadPool (Get-IcingaThreadPool -Name 'ServiceDaemonPool') ` + -Command 'Add-IcingaServiceCheckDaemon' ` + -Start; }