No CPU metrics from a Java Agent on Windows

Document ID : KB000072826
Last Modified Date : 22/01/2019
Show Technical Document Details
   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. 
   APM Java agent on Windows
  The agent does not have permissions needed to get the CPU data.
  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 Java process in Windows Task manager - this user needs to be added to the "Performance Monitor Users" group to get access to the CPU data.