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)

Get Evaluate Health Rules stats for application from API

SOLVED
Oscar.Hopper
Builder

Get Evaluate Health Rules stats for application from API

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?

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Get Evaluate Health Rules stats for application from API
5 REPLIES 5
Hiroki.Ito
AppDynamics Team

Re: Get Evaluate Health Rules stats for application from API


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.
Oscar.Hopper
Builder

Re: Get Evaluate Health Rules stats for application from API

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?

Hiroki.Ito
AppDynamics Team

Re: Get Evaluate Health Rules stats for application from API


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.
Ryan.Paredez
Community Manager

Re: Get Evaluate Health Rules stats for application from API

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, 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.
Oscar.Hopper
Builder

Re: Get Evaluate Health Rules stats for application from API