Troubleshooting steps if no data is seen/available for a Windows server monitor
As we use WMI queries to fetch data for a Windows server monitor, please check if the related counters are working properly. Please follow the steps below:
- Open the server machine in which the issue is occurring.
- Check if the WMI repository is corrupted.
- Open Run and type wbemtest
- Click Connect. In the Namespace, type "root\cimv2" and click Connect
- Select the Query button.
- Enter the query and click Apply.
Eg: Select Name,PercentProcessorTime from Win32_PerfFormattedData_PerfOS_Processor
- In the Query Result window, if it throws an error, follow step 3.
- Execute the following commands in cmd:
- winmgmt /verifyrepository - to verify if the repository is corrupted. If the result is inconsistent, execute the next command
- winmgmt /salvagerepository - to fix the issue
- winmgmt /verifyrepository - to check if the issue has been fixed
- Restart the agent.