Alerts - Template variables are not supported in alert queries

Grafana 5.2.4 | Influxdb | ubuntu 16.04

Alert setting ERROR: Template variables are not supported in alert queries

Sn%C3%ADmek%20obrazovky%20po%C5%99%C3%ADzen%C3%BD%202018-09-21%2008-37-32

Variables looks like:
SHOW TAG VALUES FROM “cpu” WITH KEY = “host”

Thanks for any response.