Unsolved
This post is more than 5 years old
16 Posts
0
4892
Seeing User IDs of connected clients (share or cluster level)?
Greetings Everyone,
I was looking around the CLI and InsightIQ to try to find a way to display the number of people connected to a share or to the cluster and their User ID's.
I did find some CLI commands that do this in a roundabout way. It would be much more user friendly doing this through InsightIQ. From the performance reports I can see Connected/Active clients as IP addresses, but is there a way to have this shown as their user ID's? I assumed there was since I found filters for group and user ID filters but they seem unusable as far as i can tell.
To wrap up the above:
-Is there a way from InsightIQ or the CLI to display the number of people connected to particular shares and have this shown as their User ID's instead of just IP addresses?
-How do you use the User and group ID filters inside InsightIQ when all I have are client IP addresses? Did I miss a step setting this up?
Thank you everyone.
Message was edited by: antonio.prayor Changed the title to better depict my questions.
Peter_Sero
1.2K Posts
1
November 11th, 2013 22:00
At least for 6.5, the SMB sessions lists are per node, so
one has to check all nodes in sequence:
isi_for_array -s isi smb session list
The listed sessions include a Username field.
isi statistics client --nodes=all --totalby=UserName,RemoteName,Proto
also gives you some useful information, but covers only
connections that have been active in the past couple of seconds.
Cheers
-- Peter