Issue
The GPM Agent utilizes standard Windows calls to WMI as part of our metric collection. In some environments, this can cause some WMI-related stability issues due to the way that Windows allocates resources to WMI, specifically in relation to:
- Security or Group Policy settings
- Antivirus software that is deployed in an environment
- Other possible causes such as Windows patches, the need for various WMI-Related HotFixes, or the need to rebuild or resynchronize WMI Repositories on affected machines.
Troubleshooting
We have found that WMI will typically fully recover after a failure with the related Event Log entries as the only evidence of an issue. Similarly, if there is a metric collection attempt that fails due to underlying WMI issues, the GPM agent will retry that query.
If WMI stability is a common issue in your environment, refer to the following link to Microsoft's steps to verify / rebuild / resync the Windows WMI Repositories:
https://blogs.technet.microsoft.com/askperf/2014/08/08/wmi-repository-corruption-or-not/