TrueSight Capacity Optimization (TSCO) Capacity Agent (formerly BMC Performance Assurance) data collection on windows is failing to connect to WMI. The following messages are reported in the [hostname]-bgscollect.exe-noInstance.log file. These message only appear at the agent startup. If the agent has been running for a while these messages may not appear in the collected logs. Restart the agent to see the messages if the issue still exists.
Wed Aug 31 01:00:00 2011 bgscollect.exe (10880:6804) debug, WMICollect::InitializeWMI() starts
Wed Aug 31 01:00:00 2011 bgscollect.exe (10880:6804) Connect wmi namespaceServer OK
Wed Aug 31 01:00:00 2011 bgscollect.exe (10880:6804) debug, WMICollect::ConnectWMI() starts
Wed Aug 31 01:00:00 2011 bgscollect.exe (10880:6804) debug, WMICollect::DoConnectWMI() starts
Wed Aug 31 01:00:00 2011 bgscollect.exe (10880:6804) ConnectServer OK
Wed Aug 31 01:00:00 2011 bgscollect.exe (10880:6804) ConnectWMI failed at AddEnum, error: 0x80041010
Wed Aug 31 01:00:00 2011 bgscollect.exe (10880:6804) Error code 0x80041010 => Invalid class
The key message is the 'ConnectWMI failed at AddEnum, error: 0x80041010' error. That indicates that although the host was able to establish the initial connection to the WMI interface on the host (the 'ConnectServer OK') it then wasn't able to access the System Statistics data via the WMI interface.
These messages will appear in the bgscollect.exe log files. Since these 4 data groups must exist in the UDR data for Analyze to process, these errors are another symptom of the issue.
Thu Dec 17 00:00:07 2020 bgscollect.exe (1516:1344) using Performance Registry for System
Thu Dec 17 00:00:07 2020 bgscollect.exe (1516:1344) Error - could not add group NT System Statistics with instance noInstance
Thu Dec 17 00:00:07 2020 bgscollect.exe (1516:1344) using Performance Registry for Processor
Thu Dec 17 00:00:07 2020 bgscollect.exe (1516:1344) Error - could not add group NT Processor Statistics with instance noInstance
Thu Dec 17 00:00:07 2020 bgscollect.exe (1516:1344) using Performance Registry for Memory
Thu Dec 17 00:00:07 2020 bgscollect.exe (1516:1344) Error - could not add group NT Memory Statistics with instance noInstance
Applies To:
TrueSight Capacity Optimization (Capacity Agent) 11.5, 11.3, 11.0, 10.7, 10.5, 10.3, 10.0
BMC Performance Assurance for Servers 9.5, 9.0, 7.5.10