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:
- Open a command prompt as an administrator and execute the below commands one by one:
- Execute the below commands to stop and start the Performance Logs and Alerts service:
net stop pla && net start pla
- 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