Applications Systems
Invalid Query error within component monitor in SAM
You are getting an invalid query error on any performance counter component monitor.
First published date
Last published date
Overview
An error message displayed on the component details page:
Invalid query
Product section
Cause
The Performance Counters are not working and need to be rebuilt.
Resolution
- Rebuild the corrupted performance counters on the monitored machine:
- Type the following commands at an Administrative command prompt. Press ENTER after each command.
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production, or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. cd c:\windows\system32 lodctr /R cd c:\windows\sysWOW64 lodctr /R WINMGMT.EXE /RESYNCPERF
- Stop and restart the Performance Logs and Alerts service
- Stop and restart the Windows Management Instrumentation service.