Splunk AppDynamics

Get Evaluate Health Rules stats for application from API

Oscar_Hopper
Explorer

I've got scripts that will call the API to get Applications and their Health Rules.  I'm trying to get just the active/enabled Health Rules.  If the option on the application to evaluate Health Rules is set to off, the Health Rules are still set to True.

Is there a way via the API to see if the application has the evaluate Health Rules option set to Off?

Labels (3)
1 Solution

Hiroki_Ito
Contributor

For an enhancement suggestion, could you please create Idea Exchange post?
I have searched the Idea Exchange but couldn't find requests similar to your suggestion.

Note: The Idea Exchange is a place where customers can submit, vote, and engage with ideas to improve their AppD experience.

Best Regards,
Hiroki

View solution in original post

Hiroki_Ito
Contributor

Thank you for posting to the community.
Unfortunately, there is no explicit API to get the evaluate Health Rules status.

However, if you make a health rule that always violates, you can indirectly see if health rules are evaluated from health rule violations API.
->If there is no response, it may indicate the health rules are not evaluated, so evaluate Health Rules status may be off.
Note that there can be other reasons, so it can't be definitively concluded.
In addition, a health rule that always violates can become unwanted noise when there are other health rule violations that need to be inspected.

Best Regards,
Hiroki

Oscar_Hopper
Explorer

Would an enhancement suggestion that the API return an enabled status of False if the application is not evaluating Health Rules warranted?  Or have others already worked around this faulty logic?

0 Karma

Hiroki_Ito
Contributor

For an enhancement suggestion, could you please create Idea Exchange post?
I have searched the Idea Exchange but couldn't find requests similar to your suggestion.

Note: The Idea Exchange is a place where customers can submit, vote, and engage with ideas to improve their AppD experience.

Best Regards,
Hiroki

iamryan
Community Manager
Community Manager

Hi  @Oscar.Hopper,

If you find an idea or create one, please come back to this thread and share the idea so others can find it via this conversation too. 

0 Karma

Oscar_Hopper
Explorer
Get Updates on the Splunk Community!

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...