Also, I believe you’re saying that if someone just clicks the Balancing Group, 
only the ID for that group is specified in the logs, rather than the connection 
ID from that group. I agree this would make it difficult to determine which 
active users are connected where.

After the event is possible because the entry is logged in the Database in the 
guacamole_connection_history table, but of course it’s not written to until the 
session has ended.

Do any of the devs know if it’s possible to update the logging to show the 
Balancing Group ID *and* the Connection ID when a machine is connected to via a 
balancing Group?

This is what is shown now:

11:12:03.957 [http-bio-8080-exec-1] INFO  o.a.g.tunnel.TunnelRequestService - 
User "dave" connected to group "10".

Could it be possible to have something like this:

11:12:03.957 [http-bio-8080-exec-1] INFO  o.a.g.tunnel.TunnelRequestService - 
User "dave" connected to group "10", connection ID “17”

The data is definitely available, just not sure how much work would be required 
to make it show in the logs.

Cheers

Paul

From: "p...@cantle.me" <p...@cantle.me>
Reply-To: "user@guacamole.incubator.apache.org" 
<user@guacamole.incubator.apache.org>
Date: Thursday, 2 February 2017 at 10:39
To: "user@guacamole.incubator.apache.org" <user@guacamole.incubator.apache.org>
Subject: Re: getting active sessions in terminal

Hi,

Are you just trying to show active sessions (i.e who’s connected) or do you 
want something like

Active Sessions                    Connected to
----------------------                       --------------------

user1                                  Server1
user4                                  Server1
user9                                  Server5


Or something else?

Rgds

Paul

From: Isaac Marco Blancas <isaac.ma...@udima.es>
Reply-To: "user@guacamole.incubator.apache.org" 
<user@guacamole.incubator.apache.org>
Date: Wednesday, 1 February 2017 at 18:42
To: "user@guacamole.incubator.apache.org" <user@guacamole.incubator.apache.org>
Subject: getting active sessions in terminal

Some way to get the the active sessions in a terminal? I need to write some 
bash scripts and looking for it in the logs not always is possible. For 
instance... I can't see in the logs which connection has been used when a user 
connects to a balancing group.

Thank you in advance.
--
Isaac Marco Blancas
Universidad a Distancia de Madrid (UDIMA)
902 02 00 03

Reply via email to