Not able to get the exact output in grafana dashboard

Hi ,
i have sh file as below

urls=( premium domain name for sale -

Add more URLs here

for url in “${urls[@]}”; do
response=$(curl -s -I -k -o /dev/null -w “%{http_code}” “$url”)
if [ “$response” = “200” ]; then
echo “url=$url status=$status”

i want to get the status output in grafana dashboard through telegraf and influxdb.

the below measurement i have added in telegraf.conf file
commands = [“/path/to/your/”]
data_format = “influx”

and in grafana dashboard i used below query

SELECT last(“value”) FROM “exec” WHERE $timeFilter GROUP BY time($__interval), “host” fill(null)

I’m not able to get the output in grafana dashboard. its showing me as no data in grafana dashboard .

please help me on this .

Did you try writing output variables directly to a database?

What do you get if you simply ran
SELECT * FROM "exec"

Please post back screen shot