Alert test rule always return no_data

Hi all,
I’m newbie to Grafana (grafana-5.4.2-1.x86_64), I get problem : my alert rule always return no_data
Here some information


firing:false
state:“no_data”
conditionEvals:“false = false”
timeMs:“27.967ms”
logs:Array[2]
0:Object
message:“Condition[0]: Query Result”
data:Array[0]
1:Object
message:“Condition: Eval: false, Query Returned No Series (reduced to null/no value)”
data:null
Please give me some advice, thank you very much.

Your using template variables in you query , this is not supported in alerting rules

1 Like

Thank you, I changed host to specific hostname and it works.