# Getting alerts that is set for some threshold even when there is no data

**URL:** <https://community.grafana.com/t/getting-alerts-that-is-set-for-some-threshold-even-when-there-is-no-data/117886>\
**Category:** Alerting\
**Tags:** alerting\
**Created:** [March 26, 2024, 7:06am UTC](https://community.grafana.com/t/getting-alerts-that-is-set-for-some-threshold-even-when-there-is-no-data/117886 "2024-03-26T07:06:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shobhamaurya2002](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@shobhamaurya2002](https://community.grafana.com/u/shobhamaurya2002)\
**Post date:** [March 26, 2024, 7:06am UTC](https://community.grafana.com/t/getting-alerts-that-is-set-for-some-threshold-even-when-there-is-no-data/117886/1 "2024-03-26T07:06:19Z")

</div>

I am using influxdb as datasource and set the alert for battery voltage above 14V. I am getting alert mail when it is above 14V but when there is no data coming from influxdb it is still sending me the same alert at an interval of 4hrs. What should I do to stop this alert coming when there is no data. I want grafana to send me alert mail only when the my set limit for above voltage is above threshold.  
Can anybody pl help me out. Thank You

---

<div class="post-metadata">

**Author:** ![jangaraj](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/jangaraj/32/39197_2.png) [@jangaraj](https://community.grafana.com/u/jangaraj)\
**Post date:** [March 26, 2024, 7:29pm UTC](https://community.grafana.com/t/getting-alerts-that-is-set-for-some-threshold-even-when-there-is-no-data/117886/2 "2024-03-26T19:29:27Z")

</div>

Configure NoData as OK state:  
 ![image](https://us1.discourse-cdn.com/grafana/original/3X/f/9/f9cf60f989247c6aeabb7b0072d6e7915c0d0b19.png)

---

<div class="post-metadata">

**Author:** ![shobhamaurya2002](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@shobhamaurya2002](https://community.grafana.com/u/shobhamaurya2002)\
**Post date:** [March 27, 2024, 5:43am UTC](https://community.grafana.com/t/getting-alerts-that-is-set-for-some-threshold-even-when-there-is-no-data/117886/3 "2024-03-27T05:43:57Z")

</div>

Yeah I’ve already checked doing this but still getting the same problem. As in I am still getting alert mail, it just that the mail is now blank without the alert message.
