# Alert with dynamic host on a dashboard

**URL:** <https://community.grafana.com/t/alert-with-dynamic-host-on-a-dashboard/19654>\
**Category:** InfluxDB\
**Created:** [July 26, 2019, 8:06am UTC](https://community.grafana.com/t/alert-with-dynamic-host-on-a-dashboard/19654 "2019-07-26T08:06:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![foxmask](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/foxmask/32/2766_2.png) [@foxmask](https://community.grafana.com/u/foxmask)\
**Post date:** [July 26, 2019, 8:06am UTC](https://community.grafana.com/t/alert-with-dynamic-host-on-a-dashboard/19654/1 "2019-07-26T08:06:57Z")

</div>

Hi  
I made a dashboard with many panels, the data change once I change the choice of my host from my dropdown list build from a variable.

Everything is fine but now, when I set an alert :

I see that error message

"/!\ Template variables are not supported in alert queries "

How can I do ?

Is it mandatory to create one dashboard per host to be able to get alert ?

---

<div class="post-metadata">

**Author:** ![foxmask](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/foxmask/32/2766_2.png) [@foxmask](https://community.grafana.com/u/foxmask)\
**Post date:** [July 26, 2019, 8:49am UTC](https://community.grafana.com/t/alert-with-dynamic-host-on-a-dashboard/19654/2 "2019-07-26T08:49:05Z")

</div>

it looks like it’s not for tomorrow

> <https://github.com/grafana/grafana/issues/6557>
