• Vitaly Lipatov's avatar
    router: add check-vpn-status.sh for Telegraf VPN monitoring · 782133ea
    Vitaly Lipatov authored
    Auto-detects VPN type and reports status to InfluxDB via Telegraf exec:
    - IKEv2/strongSwan: swanctl or ipsec* interface + RX bytes
    - OpenVPN: process + tun0 interface
    - GRE: gre1 interface + RX bytes changing
    - OpenConnect: process + vpns/tun interface
    - Xray: process + SOCKS port listening
    - AmneziaWG/WireGuard: interface + recent handshake
    
    Deployed to all 11 egw/ogw containers with Telegraf integration.
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    782133ea
check-vpn-status.sh 4.64 KB