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

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...