kumina / openvpn_exporter

A Prometheus exporter for OpenVPN.
Apache License 2.0
217 stars 106 forks source link

Don't ignore duplicate connections data (with duplicate-cn activated) #39

Open AvaxVPN-Team opened 4 years ago

AvaxVPN-Team commented 4 years ago

When multiple clients are connected to the server having the same common-name, Only the data of the newest connection of that CN is recorded. Other connections' data is ignored. For example, "Bytes Used" is only measured for the newest connection, while it's expected to sum all values for all connections for that CN in one value.