router: add check-vpn-status.sh for Telegraf VPN monitoring
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:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
router/check-vpn-status.sh
0 → 100755
Please
register
or
sign in
to comment