luci-app-statistics: support VPN client and VPN server(multi-users)
authorjdd272 <[email protected]>
Thu, 21 Nov 2024 14:52:54 +0000 (15:52 +0100)
committerPaul Donald <[email protected]>
Wed, 3 Dec 2025 20:59:03 +0000 (21:59 +0100)
commit1dca4dde9687bd214691b987cdffd87f389e07b6
treeace5d18d64de6ac8fcd2c3b1de621c628bb74b40
parent9a863c8888fd088988f3857e1acdc91c248e83e0
luci-app-statistics: support VPN client and VPN server(multi-users)

Keep displaying Compression/Trafic graphs for OpenVPN clients, but also
support status-version 2 OpenVPN server instance. If multi mode is enabled it
displays one graph (Traffic) per connected user.

Added another graph to display total number of connected users if the option is
enabled in collectd.

Signed-off-by: Julien DIOUF <[email protected]>
applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/openvpn.js