Hi all,
I would like to use a multi value variable in a query.
In a test dashboard I have a variable (group) that identifies various devices in my lan
The variable shows correctly the groups from smokeping-prober
and it works correctly if I select only one group
the query is defined as
The query is
sum by(host) (rate(smokeping_response_duration_seconds_sum{group="$GROUP"}[$__rate_interval]))
Selecting “All” or more than 1 value gives a “No data” panel
What I’m doing wrong?
BTW if it can be of any interest the smokeping-prober yaml file is
---
targets:
- hosts:
- cloudflare-dns
- google-dns
labels:
group: dns
- hosts:
- nexxt-int
- p9-principale-ext
labels:
group: net1-device
- hosts:
- mostro
- kit-studio
labels:
group: net1-server
- hosts:
- bianco500
labels:
group: net68-server
interval: 1s # Duration, Default 1s.
network: ip # One of ip, ip4, ip6. Default: ip (automatic IPv4/IPv6)
protocol: icmp # One of icmp, udp. Default: icmp (Requires privileged operation)
size: 56 # Packet data size in bytes. Default 56 (Range: 24 - 65535)


