# Kapacitor Alert Message

**URL:** <https://community.influxdata.com/t/kapacitor-alert-message/12380>\
**Category:** Kapacitor\
**Tags:** kapacitor\
**Created:** [December 18, 2019, 5:09pm UTC](https://community.influxdata.com/t/kapacitor-alert-message/12380 "2019-12-18T17:09:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Giovanni\_Luisotto](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/giovanni_luisotto/32/4017_2.png) [@Giovanni\_Luisotto](https://community.influxdata.com/u/Giovanni_Luisotto)\
**Post date:** [December 19, 2019, 1:49pm UTC](https://community.influxdata.com/t/kapacitor-alert-message/12380/2 "2019-12-19T13:49:54Z")

</div>

You should be able to achieve that by using multiple streams. you will then use each metric as you wish. See [this community post](https://community.influxdata.com/t/kapacitor-stream-processing-multiple-fields/3240/8) for an example (you won’t need to join the streams if you want just to write a message)

the message can be built in this way using the aliases

```auto
|alert() 
        .id( {...} ) // The alert title 
        .message('{{.Level}} - Disk Space > Total Disk Space: ' + string('Total_Disk_Space') + '| Occupied Space: ' + string('Disk_Space') + {...})

```

Some time ago I found [this post](https://www.dogsbody.com/blog/replacement-server-monitoring-part-3-kapacitor-alerts-and-going-live/) which has a really nice and complete TICK script example, it might be useful as an example.

let me know if this works

Edit: removed a non-working solution

---

_[View the full topic](https://community.influxdata.com/t/kapacitor-alert-message/12380)._
