No CPU metrics from a Java Agent on Windows
search cancel

No CPU metrics from a Java Agent on Windows


Article ID: 72826


Updated On:


CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE


   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.