cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get Evaluate Health Rules stats for application from API

Oscar.Hopper
Builder

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?

5 REPLIES 5

Hiroki.Ito
AppDynamics Team

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

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

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?


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

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

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. 

 


Thanks,

Ryan, Cisco AppDynamics Community Manager




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

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.