# Incorrect alert configuration example

**URL:** <https://www.singlestore.com/forum/t/incorrect-alert-configuration-example/3784>\
**Category:** Doc Feedback\
**Created:** [January 27, 2022, 3:36pm UTC](https://www.singlestore.com/forum/t/incorrect-alert-configuration-example/3784 "2022-01-27T15:36:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wedwards](https://www.singlestore.com/forum/user_avatar/www.singlestore.com/wedwards/32/829_2.png) [@wedwards](https://www.singlestore.com/forum/u/wedwards)\
**Post date:** [January 27, 2022, 3:36pm UTC](https://www.singlestore.com/forum/t/incorrect-alert-configuration-example/3784/1 "2022-01-27T15:36:50Z")

</div>

The example at [SingleStoreDB Cloud · SingleStore Documentation](https://docs.singlestore.com/db/v7.6/en/user-and-cluster-administration/cluster-health-and-performance/monitoring/configure-alerts.html#create-the-alert-configuration-file) is incorrect.

It yields:

```auto
root@singlestore0:~# cat /etc/singlestore-monitoring.yml
location:
email:
  receivers:
    - engineering@cyberfusion.nl
  sender: engineering@cyberfusion.nl
  server:
    host: smtp.prorelay.nl
    port: 587
    username:
    password:

root@singlestore0:~# sdb-report send-alert --config-file /etc/singlestore-monitoring.yml
invalid argument "/etc/singlestore-monitoring.yml" for "--config-file" flag: yaml: unmarshal errors:
  line 2: field email not found in type config.Config

```

It looks like `email` should be under `location`, like this:

```auto
root@singlestore0:~# cat /etc/singlestore-monitoring.yml
location:
  email:
    receivers:
      - engineering@cyberfusion.nl
    sender: engineering@cyberfusion.nl
    server:
      host: smtp.prorelay.nl
      port: 587
      username:
      password:

root@singlestore0:~# sdb-report send-alert --config-file /etc/singlestore-monitoring.yml

```

---

<div class="post-metadata">

**Author:** ![galley](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/g/cdc98d/32.png) [@galley](https://www.singlestore.com/forum/u/galley)\
**Post date:** [January 27, 2022, 3:49pm UTC](https://www.singlestore.com/forum/t/incorrect-alert-configuration-example/3784/2 "2022-01-27T15:49:13Z")

</div>

Thanks for pointing this out. I’ll take a look at it and make any necessary updates.

ETA: Yep, identified and fixed in the next round of documentation updates, coming today/tomorrow. Thanks again for pointing it out!
