Health Monitor does not show statistics for services

Created:

2016-11-16 13:15:51 UTC

Modified:

2017-04-24 11:41:20 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Health Monitor does not show statistics for services

Applicable to:

  • Plesk Onyx for Windows
  • Plesk 12.5 for Windows

Symptoms

Health Monitor does not show statistics for services.

In %plesk_dir%"\\admin\\logs\\HealthMonitoring.log the following can be found:

15-11-04 04:46:29,451 [5] WARN  Parallels.Diagnostics.ObjectFactory [(null)] - Can't initialize counter "cpuTime-Web" of type: ServiceResourceUsageCounter. Parallels.Diagnostics.CounterInitializationException: Can't intialize performance counter "cpuTime-Web". ---> System.Management.ManagementException: Critical error
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObject.Initialize(Boolean getObject)
at System.Management.ManagementBaseObject.get_Properties()
at Parallels.Diagnostics.Counters.ProcessPerfDataCollector..ctor()
at Parallels.Diagnostics.Counters.ProcessPerfDataCollector.get_Instance()
at Parallels.Diagnostics.Counters.ServiceResourceUsageCounter.Intialize(NameValueCollection parameters)
--- End of inner exception stack trace ---
at Parallels.Diagnostics.Counters.ServiceResourceUsageCounter.Intialize(NameValueCollection parameters)
at Parallels.Diagnostics.ObjectFactory.CreateCounter(ProviderSettings element)
2015-11-04 04:46:29,468 [5] INFO Parallels.Diagnostics.Counters.ProcessPerfDataCollector [(null)] - Initializing ...

Reinstalling Health Monitor did not help to resolve the issue.

Cause

WMI (Windows Management Instrumentation) service is hang or stopped.

Resolution

  1. Make sure that Windows performance counters in registry HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\PerfProc\\Performance are not disabled:

    Ensure if you have a DWORD entry named "Disable Performance Counters" that if it was set to 1, that it is properly set to 0 (zero).

  2. Restart WMI

    Go to Services > Windows Management Instrumentation > Restart

  3. In Plesk go to Health Monitor > Detect Hardware Changes . Relogin.

To avoid this issue in future WMI service watchdog script can be installed. It will monitor WMI service health and automatically restart WMI service and processes if any error is detected.

https://gallery.technet.microsoft.com/WMI-service-watchdog-script-4fab1282

Have more questions? Submit a request
Please sign in to leave a comment.