Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
10-31-2017 06:00 PM - last edited on 11-20-2019 10:13 AM by Ryan.Paredez
Hello,
I have a healthrule suppression schedule enabled and it doesn't seem to be working as expected.
The requirement is to suppress or disable helathrule between 1 AM and 6 AM only on Sundays, and this the cron entry that i set up (see attached).
start time cron expression: * * 6 ? * 7
end time cron expression : * * 1 ? * 7
If this is incorrect, please advise what needs to be modified. Thank you!
11-02-2017 10:24 AM - last edited on 11-20-2019 10:14 AM by Ryan.Paredez
Does anyone have an answer? :)
01-02-2019 04:58 AM - last edited on 11-20-2019 10:14 AM by Ryan.Paredez
I think you might have your start and end crossed so i switched them. Also, for Sundays, shouldn't that be a '1' instead of a '7'? Here's the result based on those adjustments.
start time cron expression: * * 1 ? * 1
end time cron expression : * * 6 ? * 1
Here's a doc on cron format standards.
http://www.quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/crontrigger
11-19-2019 10:10 PM - last edited on 11-20-2019 10:14 AM by Ryan.Paredez
Hello,
Can you please mention the steps followed to achieve this.
Thank you.
11-20-2019 09:00 AM - last edited on 11-20-2019 10:15 AM by Ryan.Paredez
It's an old post, but essentially he's asking about how to do supress an action which is outlined in this document: https://docs.appdynamics.com/display/PRO45/Action+Suppression#ActionSuppression-ConfigureActionSuppr...
Once you're there, then follow his cron expression link above on what the syntax is.
You can also set this up when building your health rule as outlined in this document: https://docs.appdynamics.com/display/PRO45/Create+a+Health+Rule#CreateaHealthRule-Create_Manage_HRSc...
Which kind of has reverse logic. Usually you want the action to "start" when you want it to actually end supression, and then "end" when you want it to actually it to start, that way that "Health Rule" will only run everytime except the times you speecifically outlined to supress.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form