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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...