Skip to content

Instantly share code, notes, and snippets.

View jeremywhelchel's full-sized avatar

Jeremy Whelchel jeremywhelchel

View GitHub Profile
@jeremywhelchel
jeremywhelchel / connection_monitor.sh
Last active October 14, 2023 16:19
Simple bash scripts to collect connection statistics to a remote host (ping latency and wifi signal strength) and generate graphs over time. I couldn't find any simple solutions for this task--only heavyweight frameworks such as smokeping/vaping or prometheus or other cloud-centric monitoring solutions.
#!/bin/bash
# Monitor connection statistics (latency + wifi signal strength) continuously.
# Stores timeseries data in RRDTool
set -e
WIFI_DEV="wlan0"
MAC='aa:bb:cc:dd:ee:ff'
PING_HOST='192.168.1.10'

Keybase proof

I hereby claim:

  • I am jeremywhelchel on github.
  • I am jlw (https://keybase.io/jlw) on keybase.
  • I have a public key whose fingerprint is 317F 670E E6C6 CB53 F627 29C3 5D4C 296A 48E8 7CCE

To claim this, I am signing this object: