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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...