BBB and Piwik?

60 views
Skip to first unread message

Xavi

unread,
Jul 27, 2012, 5:16:00 AM7/27/12
to BigBlueButton-Setup
Hi:

I was wondering how to setup Piwik (the FLOSS equivalent to Google Analitics, kind-of - http://piwik.org/) to monitor BBB usage.

Any hints?

I could find myself this page, even if I'm not 100% sure about how to proceed.
http://piwik.org/faq/how-to-install/#faq_116
---------
Is Piwik compatible with Nginx?
Piwik works very well on the webserver Nginx indeed! To get started, check out the contributed nginx server configuration ( https://github.com/perusio/piwik-nginx#readme ) which aims to be fast, secure and flexible. Some features included in this configuration are: Referer and User Agent filtering (disabled by default), using php-cgi, php-fpm or proxying to Apache with mod_php.
---------


Xavi

P.S. Is there any other way to have some stats on BBB usage in a specific installation of BBB?

Fred Dixon

unread,
Jul 27, 2012, 7:23:33 AM7/27/12
to bigbluebu...@googlegroups.com
Hi Xavi,

Just checked out Piwik -- looks cool.

Currently, BigBlueButton does not create a database or log file that tracks the previous active meetings, users, meeting times, etc.   This is one of our oldest open issues


How we expect most people are doing this is as follows: you can extract this data externally by periodically (say every 5 minutes) making API calls getMeetings and getMeetingsInfo, say every five minutes, and logging when a meeting is no long present on the BigBlueButton server (which means it's finished).  

There are some server logs that could be used to infer activity (and you can probably analyze them with Piwik).  The nginx acces log keeps track of all files loaded, and 

   /var/log/nginx/bigbluebutton.access.log

and look for entries such as

200.118.157.159 - - [26/Jul/2012:06:34:45 -0500] "GET /client/BigBlueButton.swf?v=3944 HTTP/1.1" 304 0 "http://demo.bigbluebutton.org/client/BigBlueButton.html" "Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1"

which is a user loading a client.

You can also examine 

   /var/log/bigbluebutton/bbb-web.log

and look for

  2012-07-27 00:14:27,600 DEBUG [grails.app.controller.org.bigbluebutton.web.controllers.ApiController] - ApiController#create

which are instances of creating a meeting.



Logging has always been one of those features that we'd like to do, but there have been many other features that are much higher priority.  We're currently heads down in getting 0.81 to beta.  



Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton






--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To post to this group, send email to bigbluebu...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-s...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-setup?hl=en.





Xavi

unread,
Jul 27, 2012, 12:46:18 PM7/27/12
to bigbluebu...@googlegroups.com, Fred Dixon
Hi Fred, and thanks for your reply.

I think I got the easy solution :-)

Piwik provides you with some html (javascript) code to embed in the footer of your application. You can see, as a reference, how to proceed in Tiki:
https://doc.tiki.org/Piwik

Therefore, I've added that js code to
 
/var/www/bigbluebutton/client/BigBlueButton.html

before the end of the </body> tag, and voila, it works! :-)

Xavi

P.S. More fine tunning can be investigated in the future
* how to provide info (on the piwik side) on the bbb meeting which is accessed each time
* how to track usage from android app (I'm not sure if there is some html being server also for the mobile app)
* ...
Reply all
Reply to author
Forward
0 new messages