cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Claudia.Landivar
AppDynamics Team (Retired)

How can I avoid extension errors due to unconfigured (or incorrectly configured) health check parameters?

 

The Java SDK for AppDynamics Extensions runs a few checks to validate the Application and Machine Agent configuration. However, there are few errors (like too many open files, high cpu usage, or huge agent log file sizes) that could arise if correct configurations for these health check parameters are not provided in the extension’s config. 

 

Following are some exceptions related to health checks which are reported in Machine Agent logs.

Exception when running

 com.appdynamics.extensions.checks.ExtensionPathConfigCheck@58cd7f75

com.appdynamics.extensions.checks.MachineAgentAvailabilityCheck@754f1f01

 

Therefore, we recommend keeping the "enableHealthChecks" flag disabled from the config.yml file. Disabling health checks will not obligate metrics collecting and reporting by the extension.

 

To disable health checks, you can configure the flag below and set it to “false” in the config file:

enableHealthChecks: false

 

If the enableHealthChecks flag is not configured by default in the extension's config, then add the flag at root level, in a new line without any spaces.


Find more details on extensions health checks in the What extension Health Checks are useful for debugging? Knowledge Base article.

Version history
Last update:
‎10-18-2021 04:31 PM
Updated by:
On-Demand Webinar
Discover new Splunk integrations and AI innovations for Cisco AppDynamics.


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here