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!

From Alert to Resolution: How Splunk Observability Helps SREs Navigate Critical ...

It's 3:17 AM, and your phone buzzes with an urgent alert. Wire transfer processing times have spiked, and ...

ATTENTION!! We’re MOVING (not really)

Hey, all! In an effort to keep this Slack workspace secure and also to make our new members' experience easy, ...

Splunk Admins: Build a Smarter Stack with These Must-See .conf25 Sessions

  Whether you're running a complex Splunk deployment or just getting your bearings as a new admin, .conf25 ...