article Rebuilding Windows Performance Counters

Related Documentation Version of up.time affected Affected Platforms
"No recent performance data available. Is the system online?" - WMI elements
"No recent performance data available. Is the system online?" - up.time Agent Windows elements
All All

If you suspect that the performance counters on a Windows system are corrupt, your system administrator will need to rebuild or reload the default performance counter library values on that system. Indications of corrupt performance counters can include drastically incorrect values (ex. total cpu usage exceeding 100%), missing counters, or Perflib event log errors.

The first and easiest step is to refresh the performance counters. If that does not work, then rebuilding the counters is required.

  • Refresh the performance counters
    1. On the Windows system, run the following commands on the command line to refresh the performance counters.
      winmgmt /resyncperf
      wmiadap /f
    2. In the up.time UI, browse to the Windows element, select the small Services tab, and click Manage Services. Select the Platform Performance Gatherer from the list and then click the Test Service Monitor button.
    3. If the status is OK and the message contains the version of the up.time Agent, the counters are being returned as expected and you can stop here; otherwise, please proceed to step 2.
  • Rebuild the counters
    1. Run the `lodctr /S` command as the local administrator to save the current performance registry settings and counters.
      cd "%PROGRAMFILES(X86)%uptime softwareup.time agent"
      lodctr /S:saved.txt
    2. Run `lodctr /r` command to rebuild the counters on the target host. It is recommended, if possible, to back up the Windows element before performing this task as a precautionary measure.
      • Stop the Windows Management Instrumentation service.
      • Open a command prompt as local administrator and run the command `lodctr /r`.
      • Start the Windows Management Instrumentation service.
    3. In the up.time UI, browse to the Windows element, select the small Services tab, and click Manage Services. Select the Platform Performance Gatherer from the list and then click the Test Service Monitor button.
    4. If the status is OK and the message contains the version of the up.time Agent, the counters are being returned as expected and you can stop here; otherwise, please proceed to step 3.
  • Submit material to Support

    If, after rebuilding the counters, the issue persists, please perform the following steps and send the files into uptime Support at [email protected] for further investigation.

    1. Run the `lodctr /S` command as local administrator again, so Support can compare the before and after files.
      cd "%PROGRAMFILES(X86)%uptime softwareup.time agent"
      lodctr /S:savedafter.txt
    2. Email to [email protected] both lodctr output files (saved.txt and savedafter.txt), as well as the output from Poll Agent or Poll WMI.
      • Browse to the Windows element in the up.time UI.
      • Select the Info tab and click Poll Agent or Poll WMI in the list on the left.
      • Copy the Poll Agent/WMI output into a text file and send in to uptime Support along with the lodctr output files.

References

http://blogs.technet.com/b/yongrhee/archive/2009/10/06/how-to-rebuild-performance-counters-on-windows-vista-server2008-7-server2008r2.aspx
http://support.microsoft.com/?kbid=300956

Related Articles


Memory Consumption by Performance Counters

RatingViews
article

By: uptime Support | Date Created: 10-25-2005 | Last Modified: 7-12-2011 | Index: 041

  9398

Windows Agent Perflib Errors

RatingViews
article

By: uptime Support | Date Created: 10-17-2005 | Last Modified: 7-11-2011 | Index: 014

  13733

Windows Performance Metrics

RatingViews
article

This article outlines the performance metrics that the up.time Windows agent collects.

By: uptime Support | Date Created: 1-18-2007 | Last Modified: 7-6-2012 | Index: 118

  11567

"No recent performance data available. Is the system online?" - u...

RatingViews
article

This knowledge base article provides steps to troubleshoot and resolve "No recent performance data available. Is the system online?" messages for a Windows Agent element in the Global...

By: uptime Support | Date Created: 11-2-2013 | Last Modified: 11-5-2013 | Index: 607

  2865

Limited Performance Data Available

RatingViews
article

By: uptime Support | Date Created: 6-15-2006 | Last Modified: 1-16-2013 | Index: 082

  10103

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement