Hi,
i am trying to set up monitoring on a windows server.
After having installed the JEA profile with Install-IcingaSecurity i am getting the following message in icinga web:
Icinga Exception: Unable to start the PowerShell.exe with the provided JEA profile "IcingaForWindows" for CheckCommand: Invoke-IcingaCheckTimeSync
and the Windows Event Log says:
Failed to query Icinga check over internal REST-Api check handler A service check could not be executed by using the internal REST-Api check handler. The check either ran into a timeout or could not be processed. Maybe the check was not registered to be allowed for being executed. Further details can be found below. Icinga for Windows exception report: Exception Message: Unable to connect to the remote server Invocation Name: Invoke-WebRequest Command Origin: Internal Script Line Number: 3192 Exact Position: At C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\cache\framework_cache.psm1:3192 char:22 + ... ApiResult = Invoke-WebRequest -Method POST -UseBasicParsing -Uri ([st ... +
I believe I followed all steps in the guide/docs but the more I look at it the more i am confused.
IIRC the checks did work without JEA.
Anyone with an idea how to “debug” this further?
How, for example, do I check if the JEA Profile is installed correctly?
Thanks for any hint,
Christian