Report bandwith usage per session(bbb-2.0).

113 views
Skip to first unread message

anitachow...@gmail.com

unread,
Dec 10, 2017, 2:00:49 PM12/10/17
to BigBlueButton-dev
Hi,

Congrats on 2.0 release. BigBlueButton is great.
I am trying to monitor bandwidth utilization for each user present in a meeting.
I have not found any network monitoring module in BBB so far. So i am creating a hack for it.

Approach :-
1) I have decided to use some opensource network monitoring tool like bmon. By using these tool i can get bandwidth utilization for each request.
2) I have seen that in each bigbluebutton request we have sessionid in the request url. so i can get total bandwidth usage for a session.

3) I think that when a user joins a meeting then a new session is created for the user for that particular meeting with a unique session id.So by session id i can get the meeting and user information.

4)Issue is that i am unable to get session ids and user information linked with a meeting?

Is it possible to get all the session information linked with a meeting?

Also am i in right direction?

I have already gone through the  following links :-
https://groups.google.com/forum/#!topic/bigbluebutton-dev/r0qmh1zQqAo
http://docs.bigbluebutton.org/support/faq.html#bandwidth-requirements

 

Rahul Chowdhary

unread,
Dec 15, 2017, 2:34:22 AM12/15/17
to BigBlueButton-dev
Hi Anita,

I was trying something similar a while back.
I was also unable to get a users session info.

we can get live info on the meetings, which provides userid and not the sessionid.

I even tried transparent proxy but that too didn't work.

Did you find any solution to your issue?

Fred Dixon

unread,
Dec 17, 2017, 10:45:47 AM12/17/17
to BigBlueButton-dev
Hi,

We've not looked at trying to monitor bandwidth per user.  I don't think that bmon can do it as it can only monitor bandwidth per interface (such as eth0).  I did a google for

  ubuntu monitor bandwidth usage port

and found


There isn't any API in BigBlueButton to query "give me all the ports that a user A is using for their client connection", which would span FreeSWITCH for audio and red5 for client sip, video, desktop sharing, and apps.  You could look in the red5 log files for the client's session as they connect, but ideally you add an API call that gives you these ports.

Not sure how best to do this, but I'm pretty sure you'll need to use something more than bmon.

Regards,... Fred


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-dev+unsubscribe@googlegroups.com.
To post to this group, send email to bigbluebutton-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton

Kirk Pathumanun

unread,
Dec 17, 2017, 1:56:20 PM12/17/17
to BigBlueButton-dev
Hello,

Actually in our production environment we would use glances to test out the connection speed since the utility automatically convert the throughput on the server to the actual speed. you can install via apt-get install glances it's pretty simple. That way we can have one connection test speed or have another end connect to the server and we could roughly estimate per user network speed consumption. We have a modify BBB server with standard WebRTC but video 640x480 at 25 fps, it usually consumer 1.1M/Sec per user per connection for example. Also if you want to track traffic when you have international connection, I would recommend
sudo iftop -i eth0 it's pretty nifty. 

Regards,

Kirk
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages