# SAP alerting when data is not available

**URL:** <https://community.dynatrace.com/t/sap-alerting-when-data-is-not-available/45210>\
**Category:** Alerting\
**Tags:** sap, extensions, problems-classic\
**Created:** [April 18, 2024, 12:32pm UTC](https://community.dynatrace.com/t/sap-alerting-when-data-is-not-available/45210 "2024-04-18T12:32:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AhmedKhaled\_94](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ahmedkhaled_94/32/14270_2.png) [@AhmedKhaled\_94](https://community.dynatrace.com/u/AhmedKhaled_94)\
**Post date:** [April 18, 2024, 12:32pm UTC](https://community.dynatrace.com/t/sap-alerting-when-data-is-not-available/45210/1 "2024-04-18T12:32:42Z")

</div>

Hello All,

We currently monitor our SAP instances using the SAP extension. I am looking into creating alerting based on when the SAP modules stop sending data.

The way I was having in mind was to set up this using the Metric events and then creating a metric for lets say CPU usage, and turn on the alerting when data is missing as seen below:

 ![AhmedKhaled_94_0-1713443518696.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/1/f1770d386d3f8a73c8c9d845d29cc4433426d096.png)

Any idea if this would work as intended, or any better ideas?

Thank you

---

<div class="post-metadata">

**Author:** ![erh\_inetum](https://avatars.discourse-cdn.com/v4/letter/e/48db29/32.png) [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Post date:** [April 18, 2024, 3:44pm UTC](https://community.dynatrace.com/t/sap-alerting-when-data-is-not-available/45210/2 "2024-04-18T15:44:00Z")

</div>

Hi&nbsp;[@AhmedKhaled\_94](https://community.dynatrace.com/user/74092)&nbsp;,

On my experience it’ll work as&nbsp;intended. I mean: you can create a metric event using metric selector for a CPU usage metric as you said defining a threshold and enable “Alert on missing data” also.

 ![erh_inetum_0-1713454801168.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/e/dea2305abf408dd2bb43a87beb9f3bce8243db27.png)

So it triggers an alert if the threshold is above an assigned value or the metric doesn´t return data.

Hope it helps.

Regards,

Elena.

---

<div class="post-metadata">

**Author:** ![PierreGutierrez](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pierregutierrez/32/5934_2.png) [@PierreGutierrez](https://community.dynatrace.com/u/PierreGutierrez)\
**Post date:** [April 22, 2024, 3:23pm UTC](https://community.dynatrace.com/t/sap-alerting-when-data-is-not-available/45210/3 "2024-04-22T15:23:01Z")

</div>

Hi&nbsp;[@AhmedKhaled\_94](https://community.dynatrace.com/user/74092)&nbsp;  
If your goal is alert when data is not available, your best option is " Alert on missing data". I agree

> **[Anomaly detection configuration](https://docs.dynatrace.com/docs/dynatrace-intelligence/anomaly-detection/anomaly-detection-configuration)**
>
> How to set up an alert for missing measurements.

Some tips important that you need to know are :

🎯 One tip

 ![PierreGutierrez_0-1713798636651.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/639001b74b6d13c8aa0686f20830e7b332801be9.png)

 ![PierreGutierrez_1-1713798698167.png](https://global.discourse-cdn.com/dynatrace/original/2X/7/7da7cb30dc86976259a1592adf828255c1c2af0a.png)

It is important to know the warning rule also applies to this option.  
It means that for the alert to be passed automatically, it must meet the “Dealerting samples” parameter.  
**For the example its necessary to pass 5 minutes with data, to alert close automatically ( without interruptions)**

🎯 Second Tip  
Also its important evaluate the delayed data because some times in integrations exist this escenario

 ![PierreGutierrez_2-1713799178711.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/5/a5fd6e35ab75487c3625b04e1088867b1334f66c.png)

I hope help you 💪
