You may see this error in your Windows event logs.
System.Management.ManagementException: Invalid class
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at BoxedIce.ServerDensity.Agent.Checks.ProcessCheck.ProcessStats()
at BoxedIce.ServerDensity.Agent.Checks.ProcessCheck.DoCheck()
at BoxedIce.ServerDensity.Agent.Agent.DoChecks()
This happens if the Windows performance counters are unavailable or disabled. To fix this, do the following:
- Understand the consequences and backup your registry before making changes.
- Run "
regedit.exe
" - Navigate to "
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\Performance
" - Ensure if you have a
DWORD
entry named "Disable Performance Counters
" that if it was set to1
, that it is properly set to0
(zero). - Reboot of server may be necessary.
Comments