# How to monitor the availability of a java batch ?

**URL:** <https://community.dynatrace.com/t/how-to-monitor-the-availability-of-a-java-batch/16623>\
**Category:** Alerting\
**Tags:** tagging, problems-classic, java\
**Created:** [October 25, 2018, 3:40pm UTC](https://community.dynatrace.com/t/how-to-monitor-the-availability-of-a-java-batch/16623 "2018-10-25T15:40:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fousseyni\_bouar](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fousseyni_bouar/32/10808_2.png) [@fousseyni\_bouar](https://community.dynatrace.com/u/fousseyni_bouar)\
**Post date:** [October 25, 2018, 3:40pm UTC](https://community.dynatrace.com/t/how-to-monitor-the-availability-of-a-java-batch/16623/1 "2018-10-25T15:40:32Z")

</div>

Hi,

Dynatrace managed is monotoring many java batches. These batches are scheduled to run every x minutes. I would like to set up an availibility alert if any batch did not start after x minutes time range. I tried to get it done by using alerting profiles with the tagged service of the batch. But it did not work.

Did you have any idea on how to manage that kind of situation ?

Best regards,

Fousseyni

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [July 20, 2020, 3:22pm UTC](https://community.dynatrace.com/t/how-to-monitor-the-availability-of-a-java-batch/16623/2 "2020-07-20T15:22:44Z")

</div>

I would recommend doing this at the Process/Service layer in conjunction with your alert profile as they will work together,

 ![25789-1595258440921.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/5f1deeea73d3263feed1eea3f1f2858d5c5ed51e.png)

First navigate to the process/service and select Edit

From there select Availability Monitoring and turn it on

Select how you want the alert to be triggered.

I recommend that you keep your alert profile and tagging set that way you only need to change the settings above. Otherwise you will want to retag and recreate your alerting profile.
