cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

Troubleshooting extensions HealthCheck issues due to incorrect parameters

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:
Labels (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
0 Kudos