# No alert on missing data - Kibana

**URL:** https://discuss.elastic.co/t/no-alert-on-missing-data-kibana/305792
**Category:** Kibana
**Tags:** elastic-stack-alerting
**Created:** [May 27, 2022, 10:54am UTC](https://discuss.elastic.co/t/no-alert-on-missing-data-kibana/305792 "2022-05-27T10:54:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Adriann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adriann/32/77780_2.png) [@Adriann](https://discuss.elastic.co/u/Adriann)
#### Post date: [May 27, 2022, 10:54am UTC](https://discuss.elastic.co/t/no-alert-on-missing-data-kibana/305792/1 "2022-05-27T10:54:53Z")

</div>

Hello,

I have set up alerts on the metric threshold like the one below.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/a/6a587488a4a130575a864d4188b335be1765d25c.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/1/b11f59f8e59eb48a81b75baa52a7fe852f3ef5d9.png)

But when I stop the metricbeat on a server the state from "Active" changes to "Recovered" and no missing data alert is created.

I was testing with:  
1.) "Alert me if a group stops reporting data" option only checked  
2.) "Alert me if a group stops reporting data" and "Alert me if there's no data" checked  
3.) "Alert me if there's no data" option only checked

But the results were the same.

Do you have any idea what could be the problem here?

---

<div class="post-metadata">

### Author: ![Adriann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adriann/32/77780_2.png) [@Adriann](https://discuss.elastic.co/u/Adriann)
#### Post date: [May 31, 2022, 2:20pm UTC](https://discuss.elastic.co/t/no-alert-on-missing-data-kibana/305792/2 "2022-05-31T14:20:20Z")

</div>

Any suggestions?

---

<div class="post-metadata">

### Author: ![Adriann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adriann/32/77780_2.png) [@Adriann](https://discuss.elastic.co/u/Adriann)
#### Post date: [June 8, 2022, 2:16pm UTC](https://discuss.elastic.co/t/no-alert-on-missing-data-kibana/305792/3 "2022-06-08T14:16:09Z")

</div>

Ok so basically...

This feature works well...

What I come to is:  
1.) If you just turn off beat on a machine no missing data alert will be generated  
2.) If you mess up your system.yml configuration because you want to have some data more frequently then you will surprisingly get the notification.

Messed up config

```auto
- module: system
  period: 15s
  metricsets:
    - cpu
    - load
    - memory
    #- network
    - process
    - process_summary
    #- socket_summary
    #- entropy
    - core
    - diskio
    - socket
    - service
    - users
  period: 1s
  metricsets:
    - network
    - socket_summary

```

Good config

```auto
- module: system
  period: 15s
  metricsets:
    - cpu
    - load
    - memory
    #- network
    - process
    - process_summary
    #- socket_summary
    #- entropy
    - core
    - diskio
    - socket
    - service
    - users
- module: system
  period: 1s
  metricsets:
    - network
    - socket_summary

```

P.S.  
both enabled:

- Alert me if there's no data
- Alert me if a group stops reporting data

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2022, 2:16pm UTC](https://discuss.elastic.co/t/no-alert-on-missing-data-kibana/305792/4 "2022-07-06T14:16:16Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
