I need some outside assistance getting AppInsight for IIS to work in our environment. I'm in the process of migrating our monitoring solution to SolarWinds exclusively, and have hit a road block with regards to AppInsight for IIS. I have not had any issues with AppInsight for Exchange, and I haven't even begun to configure AppInsight for SQL.
I have followed the pre-requisites (e.g. firewall ports) and meet the system requirements on the target node. I have verified on the target node there is an HTTPS listener and a self-signed certificate from SolarWinds Zero Configuration.
I am able to add the template to the node. After about 10-30 minutes, information is populated correctly. Over time (minutes later, or an hour or so) slowly things begin coming to come to a screeching halt. First, the PowerShell monitor in AppInsight reports an OutOfMemory exception, then the other components start to report the performance counters cannot be found or are not installed. I am able to confirm their existence via wbemtest both on the target node and from the polling engine (we only have one). When I check the memory consumption on the target node, it appears to be normal; nothing out of the ordinary; same with the polling engine.
I previously opened a case with SolarWinds, but during our troubleshooting, it was determined to be outside the scope of their support, and suggested I contact Microsoft for assistance with WMI. I'm hoping for a miracle here first so I don't have to use our precious hours with Microsoft unless I've exhausted all available resources.
Once the issue occurs, if I reboot the target node and unmanage AppInsight for IIS for a second, the issue appears resolved momentarily; but the process starts all over again ending with the performance counters becoming unavailable.
On the target node, I have adjusted the winrm/config/winrs config to the following values:
Winrs
AllowRemoteShellAccess = true
IdleTimeout = 7200000
MaxConcurrentUsers = 30
MaxShellRunTime = 2147483647
MaxProcessesPerShell = 25
MaxMemoryPerShellMB = 2048
MaxShellsPerUser = 30
However, this doesn't seem to have helped, unless I need to increase the values more (and which one(s)?).
We are using Orion 2017.1.3 SP3 and SAM 6.4.0. The polling engine is running Windows Server 2008 R2 with PowerShell 2.0, and the target node is running Windows Server 2012 (not R2) with PowerShell 3.0.
I'm at wit's end with this and I don't want to keep having to reboot the target node. At the moment, I have removed the template from the target node so I do not need to reboot the server yet again.
-Nick