Ping Rate Clock
github.com
github.com
However, this analogue dial design really gives the RTT more of a visceral feel. I like it!
I'm really perplexed that not more people demand these types of things in their status huds. I get connection skips all the time.
#!/bin/sh
result=$(ping -n -c 1 -W 1 1.1.1.1 | perl -lne '/icmp_seq=1.*time=([0-9.]+) ms/ and print $1;')
if [ -z "$result" ]; then
echo "I: -- ms"
else
echo "I: $result ms"
fi
It runs as a shell script in my XMobar every second.Sorry to hear about your storage dying on you.
Fat chance; you are my MVP today. Thank you and everyone else for chiming in!
Personally, im a huge fan of zabbix, because of its flexibility and ease of use (been poking with it for 20 years so maybe im biased). I have it running for my homelab, which includes a remote server. I have a whole page of network stats, including graphs for data from `mtr`. Id rather have a dashboard to go look at than something that is always in my face, but thats because i dislike taking screenspace for things im not working on.
Unfortunately it's not open source, but I've not suffered any ill-effects yet.
To do a similar job though, I run NirSoft PingInfoView which allows you to put in a list of hosts and shows an ongoing display of who is responding or not and all kinds of stats about the connection. (Windows only)
I especially like the "hour" hand that shows the worst ping and slowly decays to more recent ping values. I should look into this for a dial-based esp32 thing I am working on.
Document your UI, folks!
Oh it uses "outermost" and "innermost" instead of "minute" and "hour" hands:
> the outermost hand will update once each second with the latest ping value, while the innermost hand tracks the recent maximum pings, making an intermittent connection easy to see.
This is the driver for the Lua Nodemcu for the ESP8266: https://nodemcu.readthedocs.io/en/dev/modules/switec/