Query include variable returns with 0 rows

I’ve made a dashboard which ping to the devices. create instance variables so I can get devices ip’s.

when I setup dashboard with variables it returned 0 row from query.

if I edit the code line with certain ip of a devices query returns with results.

I did this config a while ago and it was working. what is wrong here?

What is the \\ in the ip address, is that how the data is saved? That might be your issue. The regex on your variable might have an issue?

as you mentioned, yes that is the problem. I used regex to ignore intances that don’t have ip like localhost. so I need to use regex match.

thank you.

1 Like