Splunk AppDynamics

Health Rule Violations API Returning Less Information

Eka_PLN
New Member

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

image.jpeg

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

image.jpeg

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 ! 

Labels (3)
0 Karma

Hiroki_Ito
Contributor

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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...