ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Application metrics not getting generated in WebSphere agent - An exception occurred checking directives files

book

Article ID: 213222

calendar_today

Updated On:

Products

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

Issue/Introduction

We see the below error in the IntroscopeAgent.log and we are not seeing the application metrics getting generated in the APM metric view.

4/16/21 06:20:54 PM BST [ERROR] [IntroscopeAgent.Agent] An exception occurred checking directives files
4/16/21 06:21:54 PM BST [ERROR] [IntroscopeAgent.Agent] An exception occurred checking directives files
4/16/21 06:22:54 PM BST [ERROR] [IntroscopeAgent.Agent] An exception occurred checking directives files
4/16/21 06:23:54 PM BST [ERROR] [IntroscopeAgent.Agent] An exception occurred checking directives files

 

Cause

The introscope.autoprobe.directivesFile property value in the IntroscopeAgent.profile contained references to invalid file names/locations

 

This was determined bu checking the Autoprobe.log for the agent which contained the following message

Unable to instrument.  Invalid settings provided: 2 Unknown error occurred while processing directives list file /usr/WebSphere1/AppServer/wily/core/config/websphere-typical-NoRedef.pbl: /usr/WebSphere1/AppServer/wily/core/config/websphere-typical-NoRedef.pbl (No such file or directory)

 

Environment

Release : 10.7.0, 20.x

Component : APM Agents

Resolution

Corrected the introscope.autoprobe.directivesFile property value in the IntroscopeAgent.profile to reference teh correct pbd/pbl file names/locations