Check_cpu Error


(Patrick) #1

Hi

I’m trying to check the cpu with NSClient++ using the CheckSystem.dll module and the check_cpu command.

After starting cmd and executing:

nscp.exe client --module CheckSystem -q check_cpu

I got the following Error message:

E  w32system Failed to get Mutex for: cpu
                    c:\source\master\modules\CheckSystem\pdh_thread.cpp:350
E  w32system Failed to get Mutex for: cpu
                    c:\source\master\modules\CheckSystem\pdh_thread.cpp:350
E  w32system Failed to get Mutex for: cpu
                    c:\source\master\modules\CheckSystem\pdh_thread.cpp:350
OK: CPU load is ok.|

I’ve already tried to run the program as administrator but with no success.


(Chris) #2

what version of winodws do you use ?
What language is installed on the system ?

Maybe the following link can help you:


(gerhardg) #3

check if you get any data in perfmon, if not try the follow steps:

  1. net stop “Windows Management Instrumentation”
  2. move or delete %systemroot%\System32\wbem\Repository
    3 reboot the server.