Repeat query to all hosts and make alerts

Grafana 5.2.4

  • I used template variable to generate specific graf for specific host name (we have 100 devices, which sending data to influxdb - for example usage of disk). I wanted to make alert to unusual usage of disk but I cant use template variable. So is it possible to make one graf with data from all devices (hosts) NOT manually and after if make one alart to usage of disk? Or how can i do it? We will add more device on future and i don’t want to add query to graf for every device manually.

Thanks for any response.