Florin Andrei
I need to monitor packet loss for a bunch of tunnels.
1. Does OpenVPN keep any sort of metrics related to packet loss for each tunnel? Are there any built-in mechanisms, metrics, whatever, to keep track of packet loss?
2. Or do I have to build my own packet loss measuring tools - e.g. perhaps as simple as a periodic ping test?
In case #2, do you have any suggestions for how to best accomplish it? E.g., I could send a bunch of ICMP packets, but I need to strike a balance between:
- sending enough packets for the test to be relevant
- making sure the test doesn't take too long (it would have to be repeated once every 1 ... 5 minutes, so it can't take forever)
- avoiding network flood from sending too many packets at once (and possibly getting wrong readings because of it)
Fine tuning that test should be interesting.