Open mplotsker opened 3 years ago
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.
what is the url to see that page? your-bbb.com/????
for exporter its your-bbb.com/monitoring
thanks
On Wed, Dec 9, 2020 at 12:11 PM Gregor Krmelj notifications@github.com wrote:
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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/greenstatic/bigbluebutton-monitoring/issues/7#issuecomment-741913184, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASB4TAMTTO7KU4OPD66RJ53ST6VSZANCNFSM4UTZD7BA .
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 https://github.com/greenstatic/bigbluebutton-monitoring/blob/b31a52f3eea81f7227bbaad349a1e5d82b1db265/docker-compose.yaml#L7
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.
this in /etc/bigbluebutton/nginx/monitoring.nginx from exporter
location /monitoring/ { proxy_pass http://127.0.0.1:3001/; include proxy_params;
what do I add to or replace to make this monitoring work? this?
location /monitoring2/ { proxy_pass http://127.0.0.1:4000/; include proxy_params; }
what about the 4000:5000 in docker-compose.yaml? do i choose one port or leave both in there?
thank you for the the quick responses.
Michael
On Wed, Dec 9, 2020 at 12:24 PM Gregor Krmelj notifications@github.com wrote:
bigbluebutton-monitoring is a docker image that hosts the page on port
- 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 https://github.com/greenstatic/bigbluebutton-monitoring/blob/b31a52f3eea81f7227bbaad349a1e5d82b1db265/docker-compose.yaml#L7
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-monitoringlocation /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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/greenstatic/bigbluebutton-monitoring/issues/7#issuecomment-741921035, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASB4TANID4ZAC75H23ZIDRTST6XELANCNFSM4UTZD7BA .
should it look like this?
location /monitoring/ { proxy_pass http://127.0.0.1:3001/; include proxy_params; }
location /monitoring2/ { proxy_pass http://127.0.0.1:4000/; include proxy_params; }
or do i include this line somewhere?
thanks again
Michael
On Wed, Dec 9, 2020 at 12:51 PM Michael Plotsker mplotsker@gmail.com wrote:
this in /etc/bigbluebutton/nginx/monitoring.nginx from exporter
BigBlueButton monitoring
location /monitoring/ { proxy_pass http://127.0.0.1:3001/; include proxy_params;
what do I add to or replace to make this monitoring work? this?
Reverse proxy for bigbluebutton-monitoring
location /monitoring2/ { proxy_pass http://127.0.0.1:4000/; include proxy_params; }
what about the 4000:5000 in docker-compose.yaml? do i choose one port or leave both in there?
thank you for the the quick responses.
Michael
On Wed, Dec 9, 2020 at 12:24 PM Gregor Krmelj notifications@github.com wrote:
bigbluebutton-monitoring is a docker image that hosts the page on port
- 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 https://github.com/greenstatic/bigbluebutton-monitoring/blob/b31a52f3eea81f7227bbaad349a1e5d82b1db265/docker-compose.yaml#L7
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-monitoringlocation /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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/greenstatic/bigbluebutton-monitoring/issues/7#issuecomment-741921035, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASB4TANID4ZAC75H23ZIDRTST6XELANCNFSM4UTZD7BA .
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.
i think I got it except i do not see any sessions
[image: image.png] is there some permissions I need in the docker-compose.yaml or secrets.env file to expose the data? what did I do wrong?
thanks michael
On Wed, Dec 9, 2020 at 12:57 PM Michael Plotsker mplotsker@gmail.com wrote:
should it look like this?
BigBlueButton monitoring
location /monitoring/ { proxy_pass http://127.0.0.1:3001/; include proxy_params; }
location /monitoring2/ { proxy_pass http://127.0.0.1:4000/; include proxy_params; }
or do i include this line somewhere?
Reverse proxy for bigbluebutton-monitoring
thanks again
Michael
On Wed, Dec 9, 2020 at 12:51 PM Michael Plotsker mplotsker@gmail.com wrote:
this in /etc/bigbluebutton/nginx/monitoring.nginx from exporter
BigBlueButton monitoring
location /monitoring/ { proxy_pass http://127.0.0.1:3001/; include proxy_params;
what do I add to or replace to make this monitoring work? this?
Reverse proxy for bigbluebutton-monitoring
location /monitoring2/ { proxy_pass http://127.0.0.1:4000/; include proxy_params; }
what about the 4000:5000 in docker-compose.yaml? do i choose one port or leave both in there?
thank you for the the quick responses.
Michael
On Wed, Dec 9, 2020 at 12:24 PM Gregor Krmelj notifications@github.com wrote:
bigbluebutton-monitoring is a docker image that hosts the page on port
- 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 https://github.com/greenstatic/bigbluebutton-monitoring/blob/b31a52f3eea81f7227bbaad349a1e5d82b1db265/docker-compose.yaml#L7
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-monitoringlocation /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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/greenstatic/bigbluebutton-monitoring/issues/7#issuecomment-741921035, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASB4TANID4ZAC75H23ZIDRTST6XELANCNFSM4UTZD7BA .
The image didn't attach correctly. Try using GitHub's web application and not email reply.
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
do I need to restart bbb? i restarted nginx but not bbb.
Thanks
No, restarting BBB should not be necessary.
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.
This is an example URL: https://bbb.example.com/bigbluebutton/api/
- notice the trailing slash, it's important!
screwed up the url. fixed it. all is well. can we get the internal and or external meeting id on this dashboard?
thanks Michael
thanks again for your speedy help.
Have a great day Michael
On Wed, Dec 9, 2020 at 3:16 PM Gregor Krmelj notifications@github.com wrote:
This is an example URL: https://bbb.example.com/bigbluebutton/api/ - notice the trailing slash, it's important!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/greenstatic/bigbluebutton-monitoring/issues/7#issuecomment-742022609, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASB4TAN3XZPDMTE6LMEEONDST7LJTANCNFSM4UTZD7BA .
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. :)
Hi @greenstatic
does this app pull the same details if configured with scalelite secrets ?
@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
Can it coexist with the full stack monitoring part of https://github.com/greenstatic/bigbluebutton-exporter?