🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

how to get the number of connections per client username in a vpn

Ankur lodhi
Ankur lodhi Member Posts: 11

i have a vpn which has a lot connections, i want to see which usernames are creating the most number of connections. how can i do that

Answers

  • uherbst
    uherbst Member, Employee Posts: 130 Solace Employee

    If you're using cli:

    show client-username *

    If you're using SEMPv1 (or legacy SEMP):

    (here as curl sample):

    curl -u admin:admin -X post -d '<rpc><show><client-username><name>*</name></client-username></show></rpc>' https://your-broker:943/SEMP

    ("admin" is a admin user (or a user for login into broker WebUI), "943" is your SEMP port… maybe you have configured another one).

    If you want to lean more about legacy SEMP:
    https://docs.solace.com/Admin/SEMP/Using-Legacy-SEMP.htm

    if you're using Solace Cloud brokers, you can get the SEMP URL and the username/password from the manage-tab in the Cloud console.

    Uli