Skip to content

Instantly share code, notes, and snippets.

View zackramjan's full-sized avatar

Zack Ramjan zackramjan

  • Grand Rapids, MI
View GitHub Profile
@popmonkey
popmonkey / network_test.sh
Last active April 16, 2023 05:20
EdgeOS ready script that tests for WAN connection degradation (via packet loss and latency checks)
#!/bin/sh
#
# USG and EdgeRouter route-test script for failover
#
# uses ping to check latency and packet loss.
# returns zero when within thresholds and non zero (1) when above thresholds
# uses ping, traceroute, and logger
#
# by https://github.com/popmonkey
#