Ok I have a weird situation here, our AppInsights monitors are working (including the Powershell components), but none of the other Powershell templates are. For instance the Symantec Endpoint Protection Client and Windows Update Monitoring Powershell monitors both fail to connect to the remote server.
***********************************************************************************************************
The error I receive is:
PowerShell script error. Connecting to remote server <server ip> failed with the following error message : The WinRM client cannot process the request. Default authentication may be used with an IP address under the following conditions: the transport is HTTPS or the destination is in the TrustedHosts list, and explicit credentials are provided. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. For more information on how to set TrustedHosts run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.
***********************************************************************************************************
Our AppInsights are configured to use https while the other Powershell templates by default use http. I tried changing the template to use https with port 5986, that didn't resolve the issue and I receive the same error. Both ports 5985 and 5986 are listening on the servers, and I set the trusted hosts to * so it would accept all of our pollers.
Also, I have the templates set to inherit credentials from monitor.
Does anyone have any ideas here?
I realize the error points to WinRM but I don't think that's the issue. I checked the config and AppInsights are working.
Thanks in advance.