~eduvpn/server#182: 
improve vpn-user-portal-status output

Feature request: add information per node, it is now only aggregated over all node(s) for a particular profile.

Status
REPORTED
Submitter
~fkooman
Assigned to
No-one
Submitted
7 months ago
Updated
7 months ago
Labels
v3.x

~fkooman 7 months ago

$ sudo vpn-user-portal-status --connections --json
[
    {
        "profile_id": "silver",
        "active_connection_count": 0,
        "max_connection_count": 253,
        "percentage_in_use": 0,
        "wireguard_allocated_ip_count": 0,
        "wireguard_free_ip_count": 253,
        "wireguard_percentage_allocated": 0,
        "connection_list": []
    },
    {
        "profile_id": "gold",
        "active_connection_count": 0,
        "max_connection_count": 506,
        "percentage_in_use": 0,
        "wireguard_allocated_ip_count": 0,
        "wireguard_free_ip_count": 506,
        "wireguard_percentage_allocated": 0,
        "connection_list": []
    },
    {
        "profile_id": "iron",
        "active_connection_count": 0,
        "max_connection_count": 506,
        "percentage_in_use": 0,
        "wireguard_allocated_ip_count": 0,
        "wireguard_free_ip_count": 0,
        "wireguard_percentage_allocated": 0,
        "connection_list": []
    }
]

You'd never know that these profiles have multiple nodes...

~fkooman 7 months ago

Requested features:

  1. see this above information per node;
  2. show OpenVPN process usage, i.e. clients per port/process and also per node.

(1) simply does not work anymore in 3.x, because multiple nodes do not use "virtual"/"hidden" profiles, (2) got completely removed in 3.x.

Register here or Log in to comment, or comment via email.