Powershell - still very high cpu load

hi,

normally we’re using the oldschool nrpe checks but today i tried the new powershell way. that was A LOT of work because our systems have no internet-connection, so i have to implement all stuff manually. :-/ anyway…all checks are now working but the CPU load on my test-server (windows 2016) is very high.

on github i found this High CPU usage · Issue #131 · Icinga/icinga-powershell-framework · GitHub

now i enabled the powershell service, background daemons and api forwarder but nothing changed. how can i check whether the api forwarding is working correctly??

btw…here are some process details:

powershell.exe 5804 Running SYSTEM 16 78.628 K C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NoLogo -ExecutionPolicy ByPass -C "try { Use-Icinga -Minimal; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; Write-Output 'Error:' $($_.Exception.Message)Components:rn$( Get-Module -ListAvailable 'icinga-powershell-*' )rn'Module-Path:'rn$($Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command 'Invoke-IcingaCheckMemory' " -IncludePageFile @() -ExcludePageFile @() -Verbosity 2 Windows PowerShell

powershell.exe 4596 Running SYSTEM 08 81.348 K C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NoLogo -ExecutionPolicy ByPass -C "try { Use-Icinga -Minimal; } catch { Write-Output 'The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'; Write-Output 'Error:' $($_.Exception.Message)Components:rn$( Get-Module -ListAvailable 'icinga-powershell-*' )rn'Module-Path:'rn$($Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command 'Invoke-IcingaCheckCPU' " -Warning 80 -Critical 95 Windows PowerShell

not sure what the Error means!? all checks are working fine…except for the high cpu load.

Versions i used…
icinga powershell framework 1.9.2
icinga powershell plugins 1.9.0
icinga powershell service 1.2.0