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.

Controller (SaaS, On Premises)

Health Rule Violations API Returning Less Information

Eka.PLN
Creator

Health Rule Violations API Returning Less Information

Hi Community,

I'm currently facing a concern around the Health Rule Violations API returning less information in the "description" field since my company updated the controller from version 4.5.16.2272 to 20.7.2-2909. 


Here is the api result comparison between between both version and the deepLinkUrl output:

 

4.5.16.2272: "description": "description": "AppDynamics has detected a problem with Application <b>APP-1</b>.<br><b>Service Availability</b> continues to violate with <b>critical</b>.<br>All of the following conditions were found to be violating<br>For Application <b>APP-1</b>:<br>1) API-PORTAL<br><b>Availability's</b> value <b>2.00</b> was <b>less than</b> the threshold <b>3.00</b> for the last <b>30</b> minutes<br>"

Capture2.JPG

 

20.7.2-2909: "description": "AppDynamics has detected a problem.<br><b>Business Transaction Health</b> is violating."

Capture1.JPG

 

I'm wondering if anything was misconfigured related to the health alert or is there a way to fine tune the alert to show a detailed version. Thank you ! 

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Health Rule Violations API Returning Less Information
1 REPLY 1
Hiroki.Ito
AppDynamics Team

Hi @Eka.PLN ,


Thank you for posting to the community.

Could you please check below?
1) Go to the below URL (log in using root credentials)
http://<controller_hostname>:<controller_port>/controller/private/ControllerFlagsServlet
2) Search for the property, appdynamics.restapi.healthrule.violations.listing.optimization.enabled
3) If the property is true, set it to false
4) Click on Submit button at the bottom

Then, please execute the Health Rule Violations API and check the description.
Note that appdynamics.restapi.healthrule.violations.listing.optimization.enabled is sometimes set true to improve the performance of Health Rule Violations API.
If appdynamics.restapi.healthrule.violations.listing.optimization.enabled is already false, could you please execute the API for other health rule violations and see if you can get full information in the description field?

Best Regards,
Hiroki

Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.