No CPU metrics from a Java Agent on Windows

Document ID : KB000072826
Last Modified Date : 09/03/2018
Show Technical Document Details
Issue:
   After installing a new java agent on Windows, no CPU or Platform monitor metrics are seen. When looking in the agent log with DEBUG active, the following is seen
com.wily.introscope.agent.platform.PlatformLibraryException: Agent_Platform_Monitor_Initialization_Failed_Message[Windows IntelAmd 64bit Platform Monitor

In normal logging mode, the following is seen:
 [ERROR] [IntroscopeAgent.Agent] Windows IntelAmd 64bit Platform Monitor was not initialized. 
Environment:
   APM Java agent on Windows
Cause:
  The agent does not have permissions needed to get the CPU data.
Resolution:
  The user running the application needs to be added to the "Performance Monitor Users" group in Windows, and the application fully restarted.

   You can check which user is running the application by looking for the jJva process in Windows Task manager - this user needs to be added to the "Performance Monitor Users" group to get access to the CPU data.