• Vitaly Lipatov's avatar
    route-update: flush routes via commented-out gateways; route-health: stricter tunnel checks · 5de04da0
    Vitaly Lipatov authored
    route-update.sh:
    - After loading routes, detect and remove routes via gateways that were
      commented out or removed from the gateway file. Previously only stale
      destination IPs were cleaned up, leaving routes via disabled gateways.
    
    route-health.sh:
    - For tunnel gateways (ikev2/gre/openconnect/ovpn/xray/amneziawg/cloak/warp),
      require VPN status and iperf3 data — missing data means dead, not skip.
    - Use base (v4) tag for VPN/iperf3 lookups on .v6 gateways (they share tunnel).
    - Reduce ping query window from 3m to 1m (matches Telegraf 30s interval).
    Co-Authored-By: 's avatarClaude Opus 4.6 (1M context) <noreply@anthropic.com>
    5de04da0
route-health.sh 14.3 KB