in Icinga2 director i have create 2 Server Groups for example Linux and Windows. And in Grafana I like to create 2 Dashboards. In the first Dashboard are all Linux-Server and in the second are all Windows-Server.
But I have trouble with the InfluxDB Query. I dont see anything with Hostgroups or Service Groups: At the moment I use are Query where the most Servers are matched but not all are in the Group. I made a Query with Service names:
SELECT hostname FROM (SELECT LAST(value),hostname FROM load GROUP BY hostname) WHERE hostname =~ /[^jdf23.example.net]/
Is there a way to query host groups?