Coder Social home page Coder Social logo

Comments (19)

greenstatic avatar greenstatic commented on July 19, 2024

Yes, I myself am running such an installation. Both bigbluebutton-monitoring and bigbluebutton-exporter use BBB's API. They do not interfere between each other.

from bigbluebutton-monitoring.

mplotsker avatar mplotsker commented on July 19, 2024

from bigbluebutton-monitoring.

greenstatic avatar greenstatic commented on July 19, 2024

bigbluebutton-monitoring is a docker image that hosts the page on port 5000. If you used the provided docker-compose file, you will see that the web server is exposed on the host's networking stack on 127.0.0.1:4000

- "127.0.0.1:4000:5000"

You can add this to your nginx config, just like with bigbluebutton-exporter: https://bigbluebutton-exporter.greenstatic.dev/installation/all_in_one_monitoring_stack/#5-configure-nginx

You can use whichever endpoint you would like. Just make sure they don't collide with endpoints BBB uses.
Example:

# Reverse proxy for bigbluebutton-monitoring
location /monitoring2/ {
  proxy_pass http://127.0.0.1:4000/;
  include proxy_params;
}

Feel free to close the issue if you don't have any other questions.

from bigbluebutton-monitoring.

mplotsker avatar mplotsker commented on July 19, 2024

from bigbluebutton-monitoring.

mplotsker avatar mplotsker commented on July 19, 2024

from bigbluebutton-monitoring.

greenstatic avatar greenstatic commented on July 19, 2024

It should be like this:

# BigBlueButton monitoring
location /monitoring/ {
  proxy_pass http://127.0.0.1:3001/;
  include proxy_params;
}

# Reverse proxy for bigbluebutton-monitoring
location /monitoring2/ {
 proxy_pass http://127.0.0.1:4000/;
 include proxy_params;
}

The line 127.0.0.1:4000:5000 means map the socket 127.0.0.1 4000 on the host's networking stack, to port 5000 on the containers networking stack (since the web server in the container, i.e. bigbluebutton-monitoring web server. is listening
on port 5000).

We could have used port 5000 on the host, but didn't because if I recall correctly, it was used by BBB for some service.

from bigbluebutton-monitoring.

mplotsker avatar mplotsker commented on July 19, 2024

from bigbluebutton-monitoring.

greenstatic avatar greenstatic commented on July 19, 2024

The image didn't attach correctly. Try using GitHub's web application and not email reply.

from bigbluebutton-monitoring.

mplotsker avatar mplotsker commented on July 19, 2024

Screenshot 2020-12-09 140519

from bigbluebutton-monitoring.

greenstatic avatar greenstatic commented on July 19, 2024

are you sure you provided the correct API_BASE_URL and API_SECRET?

Check the logs; go to the directory where docker-compose is located and run docker-compose logs -f --tail=100

from bigbluebutton-monitoring.

mplotsker avatar mplotsker commented on July 19, 2024

do I need to restart bbb? i restarted nginx but not bbb.

Thanks

from bigbluebutton-monitoring.

greenstatic avatar greenstatic commented on July 19, 2024

No, restarting BBB should not be necessary.

from bigbluebutton-monitoring.

greenstatic avatar greenstatic commented on July 19, 2024

Nginx clearly works, and the bigbluebutton-monitoring is clearly up. The issue lies in the bbb-monitoring -> bbb api communication. Probably a wrong URL or secret key.

from bigbluebutton-monitoring.

greenstatic avatar greenstatic commented on July 19, 2024

This is an example URL: https://bbb.example.com/bigbluebutton/api/ - notice the trailing slash, it's important!

from bigbluebutton-monitoring.

mplotsker avatar mplotsker commented on July 19, 2024

screwed up the url. fixed it. all is well. can we get the internal and or external meeting id on this dashboard?

thanks
Michael

from bigbluebutton-monitoring.

mplotsker avatar mplotsker commented on July 19, 2024

from bigbluebutton-monitoring.

greenstatic avatar greenstatic commented on July 19, 2024

No problem. Glad you got it fixed.

Can we get the internal and or external meeting id on this dashboard

Definitely possible, we would only need to send the data to the frontend since iirc it is sent already in the payload from BBB's API. I would gladly accept a PR. :)

from bigbluebutton-monitoring.

rexon07 avatar rexon07 commented on July 19, 2024

Hi @greenstatic

does this app pull the same details if configured with scalelite secrets ?

from bigbluebutton-monitoring.

greenstatic avatar greenstatic commented on July 19, 2024

@rexon07 I don't have a scalelite configuration to test this, but user's of bigbluebutton-exporter report that it works. bbb-exporter and bbb-monitoring share the same API library to communicate with BBB (albeit bbb-monitoring is using an older version). Come back with your findings :)

BTW, open a separate issue next time

from bigbluebutton-monitoring.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.