Rebuild missing perfmon counters

How to rebuild the perfmon counters if some of them are missing?

We use perfmon counters to fetch data to monitor the Microsoft applications like IIS, SQL etc. In cases where the user finds no data collection or some of the metrics missing, it might be related to some of the perfmon counters missing. 

To rebuild the perfmon counters, please follow the below steps:
  1. Open a command prompt as an administrator and execute the below commands one by one:
    cd c:\Windows\System32
    lodctr /R
    cd c:\Windows\SysWOW64
    lodctr /R
  2. Execute the below commands to stop and start the Performance Logs and Alerts service:
    net stop pla && net start pla
  3. Restart the "Site24x7 Windows Agent" Windows service and check the status of the applications to be monitored
Note: Check with your System Administrator and take approval for executing the above commands as the performance counters will be recreated

Related Help Documentation: Add a Microsoft Application

    • Related Articles

    • How to view perfmon counters in Windows?

      To monitor specific Windows performance (perfmon) counters with Site24x7's plugin integration, you need to get the names of the performance counters from the Windows Performance Monitor on your server. Follow the steps below to get the names of the ...
    • How to check if a perfmon counter is present?

      Please follow the below steps: Open the server machine in which there is an issue Start > Run and then type perfmon In the perfmon window, expand Monitoring Tools under Performance and select Performance Monitor Now, click on the (+) icon (green ...
    • How to fix the error "JRE libraries are missing or not compatible"

      If you face the "JRE libraries are missing or not compatible" error in the installation of On-Premise Poller in CentOS, follow the steps below: Run the following commands in your terminal: sudo wget ...
    • How can I perform bulk actions on the performance counters?

      You can perform bulk actions, like Suspend, Activate, and Delete, on: Multiple performance counters across several devices with the same device template. Multiple performance counters associated with a single device. Note You can perform bulk actions ...
    • Troubleshooting steps in case of performance counter test failure or value mismatch

      From the Site24x7 web client, go to Network > Network Device . Click on the desired device name and go to the Performance Counters tab. Click Test on the desired performance counter.  Copy the Device Identifier/OID from the Test Performance Counter ...