Exploring IPv6 stack and having fun from shell. On my debian jumbox sitting in AWS I run a ping, pipe the output into an JSON array and filter the array. Two tools–> “jc” JSON Convert and “jq” JSON process are getting the job done. I run the ping to Delta.nl website and get the IP address with average response 🙂
ping -c 4 delta.nl | jc –ping -p | jq ‘.destination_ip,.round_trip_ms_avg’
“2606:4700:4400::ac40:9425”
1.349
Having this response I can store that into a Bash script and make a POST call into InfluxDB to store the files (my next action). Later on create a dashboard from Grafana.
References
Leave a comment