No CPU metrics from a Java Agent on Windows
search cancel

No CPU metrics from a Java Agent on Windows

book

Article ID: 72826

calendar_today

Updated On:

Products

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

Issue/Introduction

   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 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.