Splunk AppDynamics

Health rule schedule with cron expresssion

Arunkumar_Karme
Explorer

Hi,

Is it possible to create a single health rule schedule for the below timeline?

  • Mon - 5 PM - Tues 9 AM
  • Tues 5 PM - Wed 9 AM
  • Wed 5 PM - Thurs 9 AM
  • Thurs 5 PM - Fri 9 AM
  • Fri 5 PM -  Mon 9 AM

Basically, I need an alert schedule for Out of Business hours. Business hours schedule is (Mon - Fri 9 AM - 5 PM).

Is it possible to create the above-mentioned schedule in a single schedule window?

Labels (3)
0 Karma

Aditi_Sinha
Explorer

Hi @Arunkumar.Karmegam ,

Can you try using the below cron expression:

0 0 0-9,17-23 ? * MON-FRI *

iamryan
Community Manager
Community Manager
0 Karma

iamryan
Community Manager
Community Manager

Hi @Arunkumar.Karmegam,

Have you seen this post that seems to be asking a similar question? 
https://community.appdynamics.com/t5/Controller-SaaS-On-Premises/Health-Rule-Schedule/td-p/47109

0 Karma

Arunkumar_Karme
Explorer

Hi Ryan,

Thanks for Checking.

Yes, I have checked that post. That is a straightforward schedule Mon-Fri  06:00 to 23:59 without any break.

But in my requirement there is a break in all the days, where Business hours to be exlcuded(09 - 17).

  • Mon - 5 PM - Tues 9 AM
  • Tues 5 PM - Wed 9 AM
  • Wed 5 PM - Thurs 9 AM
  • Thurs 5 PM - Fri 9 AM
  • Fri 5 PM -  Mon 9 AM
0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...