Giter VIP home page Giter VIP logo

bigbluebutton-exporter's Introduction

BigBlueButton Exporter

Prometheus exporter for BigBlueButton. On a HTTP /metrics request, the exporter will query the BigBlueButton's API for data which it then aggregates and exposes as Prometheus metrics.

Docker Pulls Docker Image Version (latest semver) GitHub

Docker container image: https://hub.docker.com/r/greenstatic/bigbluebutton-exporter

Default port: 9688

Documentation

Available at: https://bigbluebutton-exporter.greenstatic.dev

Grafana Dashboard Screenshots

Metrics

See: Exporter User Guide - Metrics.

Environment Variables

See: Exporter User Guide - Environment Variables.

bigbluebutton-exporter's People

Contributors

alangecker avatar amg-web avatar bilalunalnet avatar bleuchtang avatar crosscodr avatar dependabot[bot] avatar faust64 avatar felix-engelmann avatar genofire avatar greenstatic avatar lonesomewalker avatar nerdyprojects avatar pajowu avatar pielonet avatar pkoro avatar stevebanik avatar thoschi avatar tibroc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bigbluebutton-exporter's Issues

grafana admin password reset

Hi,
i have installed grafana using all-in-one monitoring stack..but iam not able to recall the login password set by me. How can i reset the grafana login creds?

Grafana Dashboard Queries

When I attempt to use the Prometheus data source in Grafana I'm getting 'No Data' on all the graphs. If I attempt to query Prometheus with the same queries specified in the Grafana graphs I get no results back. Is there any insight you can offer to this?

Example:
BBB-API Graph Query: bbb_api_up{instance="$instance"}
Searching the same query in Prometheus does not return a result even though Prometheus has Netdata setup as a target

No hardware-metrics in All-In-One-Monitoring Stack

Hi! I'm trying to get the monitoring working with this excellent project. But I can't get it to display me the network/cpu/memory, etc. All I see in my grafana dashboard is the bbb-exporter with participants and the metrics response times/api. Checking the output of the Prometheus metrics like suggested in https://bigbluebutton-exporter.greenstatic.dev/debugging/. I can see the values and that the node_exporter is working and scraping correctly. My BBB-Instance is set up by the install-script on a root-server, so nothing is changed there. So guessing from the debugging section the problem lies between grafana and prometheus. since all targets are up. But i don't understand what is wrong there. The data source is set to Prometheus with http://localhost:9090 and delivers data (if you ask grafana) but it is only the bbb-exporter-data. Did I miss anything crucial during the setup?

[BBB2.3Alpha1] bbb-exporter not binding to port 9688

I have several BBB hosts on v2.2.19 running bbb-exporter & node_exporter which I have no issues, but when running on Ubuntu 18.04 and BBB2.3A1 the bbb-export does not bind to port 9688 so no connection to Prometheus.

 netstat -a -n -p|grep exporter
tcp        0      0 127.0.0.1:9100          0.0.0.0:*               LISTEN      2676/node_exporter
 netstat -a -n -p|grep :9688
~/bbb-exporter#
bbb-conf --check

BigBlueButton Server 2.3.0-dev (1183)
                    Kernel version: 4.15.0-109-generic
                      Distribution: Ubuntu 18.04.4 LTS (64-bit)
                            Memory: 32143 MB
                         CPU cores: 8

and after dock-compose down / up status stuck at restarting

docker ps
CONTAINER ID        IMAGE                                       COMMAND                  CREATED              STATUS                          PORTS                      NAMES
3ab73361a352        greenstatic/bigbluebutton-exporter:v0.4.0   "python server.py"       About a minute ago   Restarting (1) 19 seconds ago                              bbb-exporter
c75776abdf56        prom/node-exporter:v0.18.1                  "/bin/node_exporter …"   23 hours ago         Up 17 hours                                                node_exporter
95a0eff3d736        bbb23a-12:release-v2.6.5                    "bin/start"              47 hours ago         Up 17 hours                     127.0.0.1:5000->80/tcp     greenlight-v2
9fd2eb70a6bf        postgres:9.5                                "docker-entrypoint.s…"   47 hours ago         Up 17 hours                     127.0.0.1:5432->5432/tcp   greenlight_db_1

Add note about instance relabeling for grafana dashboards

First, thanks for the awesome bbb-exporter 😍

After setting it up a few minutes ago, I was a bit confused about missing cpu/bandwidth-metrics. The instance dropdown in grafana is build by using label_values(bbb_api_up, instance) - in my case that returned bbbhost.example:443.
The instance label from my netdata appeared as bbbhost.example:19999. In this case, the $instance variable in grafana contained bbbhost.example:443 and such the corresponding netdata metrics were not found.

Currently I've solved it by adding the following relabel config to my scrape_configs in prometheus.yml:

relabel_configs:
- source_labels: ['__address__']
  separator:     ':'
  regex:         '(.*):.*'
  target_label:  'instance'
  replacement:   '$1'

Just FYI - if you like, just close the issue - or add a note about the requirement of equal instance labels for netdata and the exporter for the dashboards :)

Unnecessarily promotes third-party netdata

When isntalling the exporter in order to get the dashboard for Grafana, I wondered whether installing that netdata thing is really necessary. It is a really fat applicatio, adds another (untrusted) package source to the system (or another potentially insecure docker container), and by default, it even has usage tracking and phone-home features enabled, which might violate data protection desires or even laws if going unnoticed.

I verified that the dashboard works perfectly when using the standard Prometheus node exporter, which comes bundled with Ubuntu (and Debian and presumably anyhting else). Installign the netdata software is thus unnecessary and, in my opinion, should be dropped from the documentation and replaced with installing the node exporter instead.

all-in-one monitoring stack - getting ERROR]: Non 2xx HTTP status code response

while the number of recordings seems to be correct, and bbb is up and running, the exporter complains:
--> Non 2xx HTTP status code response

<path>/bigbluebutton/getMeetings</path></Map>
bbb-exporter     | 2020-09-02 10:09:22,151 [ERROR]: Non 2xx HTTP status code response
bbb-exporter     | 2020-09-02 10:09:22,151 [ERROR]: <Map><timestamp>1599041362149</timestamp><status>404</status><error>Not Found</error><message>No message available</message>
<path>/bigbluebutton/getRecordings</path></Map>

Empty charts

Hi
I have a problem with "all in one monitoring" that shows no data in charts.
It works randomly and after reboot sometimes this error happening:

bbb-exporter | Exception happened during processing of request from ('127.0.0.1', 36600)
bbb-exporter | Traceback (most recent call last):
bbb-exporter | File "/usr/local/lib/python3.7/socketserver.py", line 650, in process_request_thread
bbb-exporter | self.finish_request(request, client_address)
bbb-exporter | File "/usr/local/lib/python3.7/socketserver.py", line 360, in finish_request
bbb-exporter | self.RequestHandlerClass(request, client_address, self)
bbb-exporter | File "/usr/local/lib/python3.7/socketserver.py", line 720, in init
bbb-exporter | self.handle()
bbb-exporter | File "/usr/local/lib/python3.7/http/server.py", line 426, in handle
bbb-exporter | self.handle_one_request()
bbb-exporter | File "/usr/local/lib/python3.7/http/server.py", line 414, in handle_one_request
bbb-exporter | method()
bbb-exporter | File "/usr/local/lib/python3.7/site-packages/prometheus_client/exposition.py", line 159, in do_GET
bbb-exporter | self.wfile.write(output)
bbb-exporter | File "/usr/local/lib/python3.7/socketserver.py", line 799, in write
bbb-exporter | self._sock.sendall(b)
bbb-exporter | BrokenPipeError: [Errno 32] Broken pipe

Untitled

Unprocessed video metric

Unprocessed video count (the videos on queue which are waiting to be processed) would be fine..

All-In-One Monitoring Stack: forwarded from /monitoring/ to /login/ 404

After installation: I go to https://bbb.xxx.de/monitoring/ I'm forwarded to https://bbb.xxx.de/login which is a 404 nginx-site.

Possibly I made one step (Configure Nginx) wrong:
Where I have to add the given content?

My /etc/nginx/sites-available/bigbluebutton looks like

(After editing I run sudo nginx -t an sudo systemctl reload nginx )
`

server {
  listen 80;
  listen [::]:80;
  server_name bbb.xxx.de;

  listen 443 ssl;
  listen [::]:443 ssl;

    ssl_certificate /etc/letsencrypt/live/bbb.xxx.de/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/bbb.xxx.de/privkey.pem;
    ssl_session_cache shared:SSL:10m;
    ssl_session_timeout 10m;
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers "ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS:!AES256";
    ssl_prefer_server_ciphers on;
    ssl_dhparam /etc/nginx/ssl/dhp-4096.pem;

  access_log  /var/log/nginx/bigbluebutton.access.log;

   # Handle RTMPT (RTMP Tunneling).  Forwards requests
   # to Red5 on port 5080
  location ~ (/open/|/close/|/idle/|/send/|/fcs/) {
    proxy_pass         http://127.0.0.1:5080;
    proxy_redirect     off;
    proxy_set_header   X-Forwarded-For   $proxy_add_x_forwarded_for;

    client_max_body_size       10m;
    client_body_buffer_size    128k;

    proxy_connect_timeout      90;
    proxy_send_timeout         90;
    proxy_read_timeout         90;

    proxy_buffering            off;
    keepalive_requests         1000000000;
  }


  # BigBlueButton monitoring
  location /monitoring/ {
    proxy_pass         http://127.0.0.1:3001/;
    proxy_redirect     default;
    proxy_set_header   X-Forwarded-For   $proxy_add_x_forwarded_for;
    client_max_body_size       10m;
    client_body_buffer_size    128k;
    proxy_connect_timeout      90;
    proxy_send_timeout         90;
    proxy_read_timeout         90;
    proxy_buffer_size          4k;
    proxy_buffers              4 32k;
    proxy_busy_buffers_size    64k;
    proxy_temp_file_write_size 64k;
    include    fastcgi_params;
   }

  # Handle desktop sharing tunneling.  Forwards
  # requests to Red5 on port 5080.
  location /deskshare {
     proxy_pass         http://127.0.0.1:5080;
     proxy_redirect     default;
     proxy_set_header   X-Forwarded-For   $proxy_add_x_forwarded_for;
     client_max_body_size       10m;
     client_body_buffer_size    128k;
     proxy_connect_timeout      90;
     proxy_send_timeout         90;
     proxy_read_timeout         90;
     proxy_buffer_size          4k;
     proxy_buffers              4 32k;
     proxy_busy_buffers_size    64k;
     proxy_temp_file_write_size 64k;
     include    fastcgi_params;
  }

  # BigBlueButton landing page.
  location / {
    root   /var/www/bigbluebutton-default;
    index  index.html index.htm;
    expires 1m;
  }

  # Include specific rules for record and playback
  include /etc/bigbluebutton/nginx/*.nginx;

  #error_page  404  /404.html;

  # Redirect server error pages to the static page /50x.html
  #
  error_page   500 502 503 504  /50x.html;
  location = /50x.html {
    root   /var/www/nginx-default;
  }

}

Add network traffic metrics

As the node_exporter seems to support statistics of the network interface and especially when there are a lot of video participants it woulld be a nice feature to see the bandwidth usage.

I am qiute new to bbb-exporter / node exporter prometheus etc. but it seems that bbb-exporter uses node exporters metricx and adds additional bbb info to it, so it should#t not be too hard to implement.

"No Data" in Grafana when under load

Hi,

We are finding that when load ramps up on our server(dual Xeons, 48GB RAM), ie around 100 students, BBB-exporter stop working, then at lunchtimes or end of day when people leave, we get reporting again. We can access Grafana, just get the No Data in all boxes.

It does not seem to affect any of the working of BBB itself. We are not taxing our server at all, we regularly have 250 students over multiple rooms. We purposefully overspecced the bare metal for this project just in case.

We since updated to 0.5.2 from an 0.4 version to try and sort this, now the dashboard randomly goes between No Data and reporting, not just under load.

Do you any insight into this?

Thanks
James

Default database

When i add the grafana dashboard I have no data...
My target are OK on prometheus because i see it on prometheus dashboard...
But when i edit one graph on grafana, i see the defaut database , but not prometheus... :
You can see here : https://pasteboard.co/J0K8t7y.png

could you understand why i dont have a source 'prometheus'...

My grafana have some other databases (influxdb)

Thanks for your work :-)

bbb_recordings_published error

One of my servers declare bbb_recordings_published is 0. But bbb-record shows published records and /var/bigbluebutton/published/presentation has 996 folders.

If you reqire any additional data, please let me know...

Import custom CA for a self-signed cert into bbb-exporter container

Would like to add a custom CA for a self-signed SSL certificate installed on BBB instance.

The log from bbb-exporter says:
(Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)')))

I did the All-In-One Monitoring Stack but I can't really find where is the dockerfile for the bbb-exporter service to add something like (or how is pulled from git if just the .yaml is provided):

-- Dockerfile
FROM some-base-image:0.1
ADD my_certificate.crt:/container/cert/path
RUN update-ca-certificates

many thanks

Add participants per room metrics

First of all: thank you for your great work on this exporter. Your release enormously helped us to roll out a bigger Scalelite > BBB installation for a university.

However, to better understand the load pattern we need a more detailed look at the room participant distribution on each server. I've created a pull request with some additional changes here #8

Best regards

bbb-exporter stops with scalelite when no meetings

Because scalelite dont return <meetings/> tag when there are no meeting. If there is one or more meeting it runs correctly.

Docker log:

2020-09-11 10:42:19,901 [DEBUG]: https://***.edu.tr:443 "GET /bigbluebutton/api/getMeetings?checksum=*** HTTP/1.1" 200 None
----------------------------------------

Exception happened during processing of request from ('172.18.0.3', 35978)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/socketserver.py", line 650, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/local/lib/python3.8/socketserver.py", line 720, in __init__
    self.handle()
  File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "/usr/local/lib/python3.8/site-packages/prometheus_client/exposition.py", line 152, in do_GET
    output = encoder(registry)
  File "/usr/local/lib/python3.8/site-packages/prometheus_client/openmetrics/exposition.py", line 14, in generate_latest
    for metric in registry.collect():
  File "/usr/local/lib/python3.8/site-packages/prometheus_client/registry.py", line 75, in collect
    for metric in collector.collect():
  File "/app/collector.py", line 55, in collect
    meetings, meetings_data_latency = execution_duration(api.get_meetings)()
  File "/app/helpers.py", line 19, in wrapper
    result = fun(*args, **kwargs)
  File "/app/api.py", line 14, in get_meetings
    if data['response']['meetings'] is None:
KeyError: 'meetings'

Scalelite API getMeetings function response:

<?xml version="1.0"?>
<response>
  <returncode>SUCCESS</returncode>
  <messageKey>noMeetings</messageKey>
  <message>No meetings were found on this server.</message>
</response>

Other BBB API getMeetings function response:

<response>
<returncode>SUCCESS</returncode>
<meetings/>
<messageKey>noMeetings</messageKey>
<message>no meetings were found on this server</message>
</response>

RECORDINGS_METRICS_READ_FROM_DISK does not handle "No such file or directory"

On fresh installations of BBB some of the directories below /var/bigbluebutton/recording do not yet exist (ie. status/published in my case).

The RECORDINGS_METRICS_READ_FROM_DISK feature cannot handle this and is running into "No such file or directory" errors.

bbb-exporter | 2020-07-24 10:04:51,321 [INFO]: Enabling recordings metrics read from disk, we will not request expensive recordings metrics via the API
bbb-exporter | 2020-07-24 10:04:51,322 [INFO]: HTTP server started on port: 9688
bbb-exporter | 2020-07-24 10:04:51,322 [INFO]: Collecting metrics from BigBlueButton API
bbb-exporter | Traceback (most recent call last):
bbb-exporter | File "server.py", line 46, in <module>
bbb-exporter | REGISTRY.register(collector)
bbb-exporter | File "/usr/local/lib/python3.7/site-packages/prometheus_client/registry.py", line 24, in register
bbb-exporter | names = self._get_names(collector)
bbb-exporter | File "/usr/local/lib/python3.7/site-packages/prometheus_client/registry.py", line 64, in _get_names
bbb-exporter | for metric in desc_func():
bbb-exporter | File "/app/collector.py", line 81, in collect
bbb-exporter | yield self.metric_recordings_deleted_from_disk()
bbb-exporter | File "/app/collector.py", line 261, in metric_recordings_deleted_from_disk
bbb-exporter | metric.add_metric([], recordings_deleted_from_disk(self.recordings_metrics_base_dir))
bbb-exporter | File "/app/collector.py", line 300, in recordings_deleted_from_disk
bbb-exporter | return len(os.listdir(path=os.path.join(bigbluebutton_base_dir, "recording/status/published"))) - \
bbb-exporter | FileNotFoundError: [Errno 2] No such file or directory: '/var/bigbluebutton/recording/status/published' 

Unable to start bigbluebutton-exporter service

Hello Gregor,

Thanks for your great job. I'm a Grafana fan (and newbie as well).

As I'm not found of Docker (I rather prefer to understand what I'm running and how it is set up), I decided to install the systemd version, following the howto step by step.

Now I'm stuck unable to start the bigbluebutton service.

When I check the status :

jfvarin@labo:/etc/bigbluebutton-exporter$ sudo systemctl status bigbluebutton-exporter
● bigbluebutton-exporter.service - BigBlueButton Exporter
Loaded: loaded (/lib/systemd/system/bigbluebutton-exporter.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since lun. 2020-05-25 21:09:21 CEST; 2s ago
Process: 17957 ExecStart=/usr/bin/python3 /opt/bigbluebutton-exporter/bbb-exporter/server.py (code=exited, status=1/FAILURE)
Main PID: 17957 (code=exited, status=1/FAILURE)

mai 25 21:09:21 labo systemd[1]: bigbluebutton-exporter.service: Unit entered failed state.
mai 25 21:09:21 labo systemd[1]: bigbluebutton-exporter.service: Failed with result 'exit-code'.

So I went a step further by running

jfvarin@labo:/etc/bigbluebutton-exporter$ sudo /usr/bin/python3 /opt/bigbluebutton-exporter/bbb-exporter/server.py
Traceback (most recent call last):
File "/opt/bigbluebutton-exporter/bbb-exporter/server.py", line 6, in
import settings
File "/opt/bigbluebutton-exporter/bbb-exporter/settings.py", line 17, in
API_BASE_URL = validate_api_base_url(os.environ["API_BASE_URL"])
File "/usr/lib/python3.5/os.py", line 725, in getitem
raise KeyError(key) from None
KeyError: 'API_BASE_URL'

I triple checked the API_BASE_URL and the API_SECRET which work like a charm with the API Mate but it seems that server.py is not able to get the info.

My conf is quite standard : Ubuntu 16.04 with BBB and Greenlight + SSL + prometheus + python3-pip..,

If someone can give me a clue, I will really appreciate as I want to avoid running docker (sorry for the docker fans).

Thanks in advance for your help, I still have a lot to do to see it fully running.

Best regards from Paris.
JF

No connection to localhost

How to debug, if a server doesn't show the stats?
Done everything from: /installation/all_in_one_monitoring_stack/
On every other server no issues, but on one server there is no access to the current data.
API works well, queries do show the right values.

In Grafana, Prometheus is added with localhost, but in the dashboard, no localhost is shown.

Yaml scanner error Ubuntu 16.04 LTS

root@myvacademy-production-server:/bbb-monitoring# docker-compose up -d
ERROR: yaml.scanner.ScannerError: mapping values are not allowed here
in "./docker-compose.yaml", line 123, column 34
root@myvacademy-production-server:
/bbb-monitoring# docker-compose -v
docker-compose version 1.24.0, build 0aa59064
root@myvacademy-production-server:~/bbb-monitoring#

Cannot run docker-compose - python not found

i cannot start the bbb-exporter docker container.

Status: Downloaded newer image for greenstatic/bigbluebutton-exporter:v0.2.0
Creating bbb-exporter ... error

ERROR: for bbb-exporter Cannot start service bbb-exporter: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: "python": executable file not found in $PATH": unknown

Error starting the service

Hi. wen i run sudo docker-compose up -d, i got the error:
ERROR: Version in "./docker-compose.yaml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the serviceskey, or omit theversionkey and place your service definitions at the root of the file to use version 1. For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/

No data from bbb-exporter in grafana

Hi Gregor,

I've setup your bbb-exporter solution like your documentation .
And all services are running. But I get No Data in grafana.
Datasource is configured to http://localhost:9090 and your JSON files are imported in grafana .
Any idea?

I've setup netdata parallel there, this works and I get data and graphs.

regards
Rene

Mostly got zero from Prometeus

Hi,

i have installed bbb-exporter (node_exporter was already installed) lastes Version.
I have followed the systemD introduction.

The statistic from ROOMS Created,deleted BLA seems to work.

But all Participants shown "0" even if i'm in meeting.

We use BBB with multible Domains on one Server. Any Ideas?

Tagets was already set in prometeus
targets: ['<BBB Main IP>:9688', '<bbb1>:9688', '<bbb2>:9688', '<bbb3>:9688']

Kind regards

Error when running nginx

When installing I am having error running nginx.

When testing with sudo nginx -t it is showing

nginx: [emerg] "location" directive is not allowed here in /etc/nginx/sites-enabled/bigbluebutton:85
nginx: configuration file /etc/nginx/nginx.conf test failed

the config that is giving me the error,

# BigBlueButton Exporter (metrics)
location /metrics/ {
    auth_basic "BigBlueButton Exporter";
    auth_basic_user_file /etc/nginx/.htpasswd;
    proxy_pass http://127.0.0.1:9688/;
    include proxy_params;

}

nginx config

The better way to place nginx config for exporter is
/etc/bigbluebutton/nginx/metrics.nginx

it will not be overwritten during update

All-In-One Monitoring Stack: sudo docker-compose up -d fails

I installed BBB (on Ubuntu 16.04) but without Greenlight, thus I didn't have docker.
I installed it via
apt-get install docker docker-compose
But when I run
sudo docker-compose up -d
I get

ERROR: Version in "./docker-compose.yaml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/

My Docker-Version is:

root@bbb:~/bbb-monitoring# docker --version
Docker version 18.09.7, build 2d0083d

I'm not familiar with docker

Doesn't show number of rooms

Hi, I have installed the bbb exporter and node exporter and I have noticed that the number of rooms and participants by client type doesn't get information. Do you know if I should check something in particular to get this metrics in the dashboard working? Thanks, it's a great project.

Instance name empty

I am not sure if this is an error or just my non-existing experience with prometheus/netdata.

I followed the installation procedure and i could see the server when choosing the "all servers" dashboard. However the server instance showed nothing as the "instance" field on top of the dashboard was empty. I could add there my server manually though. Even then I did not get any CPU values, just the bbb values (number of users/video/...).

Then I checked the settings for the Dashboard and found the settings for variables. There the value for refresh was set to never. After changing it to on dashboard load everything worked as expected (and shown in the screenshots).

Maybe I did something wrong as I wonder why no one else seems to have this problem. If not it would probably help to mention this in the installation notes or change the json file (see #13).

Anyway thank you for an awesome tool!

Thomas

smtp setings grafana (docker)

Hi!
i spent nights looking for how to configure grevana to send email alerts, i didn't succeed.
I found some solution, enter the grefana bash
docker-compose exec grafana bash
and change the configuration file:

vi conf / default.ini

but when I want to exit by esc -: w that does not quit
can someone help me?

nginx not found

Hi,

I try to install but got error :

850 connect() failed (111: Connection refused) while connecting to upstream, client: x.x.x.x, server: demo-bbb.xxxxxx.com, request: "GET /metrics/ HTTP/1.1", upstream: "http://127.0.0.1:9688/", host: "demo-bbb.xxxxxx.net"

Am I miss sth?

Regards,

CK

Feature request: Get de number of participant by meetting, get the list of meetings names

Hi, All:

Great little piece of software, very nice and easy to install at least the all-in-one type of install...

As said we need to add the count of participants by meeting and the list of meetings, by name, I'm pretty sure the first item should be easy, adding labels to the metrics, I don't know already how exactly do it myself, but seems easy maybe..

But how about getting the list of the active meetings as a list in grafana? from my brief ( very brief ) look at the Prometheus python API, I don't found how to do it,

Traffic only IPv4

Hallo together,

i'm using the BBB exporter and my BBB Instance runs IPv4 and IPv6.
In the Charts, only the IPv4 Traffic is shown, in netdata i can see different values!

Thanks for patching.

DNS Amplification with All-in-One Monitoring Stack

When starting the BBB- Monitoring Docker Image and monitoring the traffic on the Gateway it is found that there are TCP connects, one to GoogleContent then the CDN at Fastway.com and then about 15sec later DNS Outbound traffic to Google's DNS 8.8.8.8 is flooding the outbound interface on the Gateway with timeouts starting at 3min.

41.212.43.99 - - [26/Jun/2020:17:44:03 -0400] "GET /bigbluebutton/api/getRecordings?checksum=af67b5d5b199434c9ad664a7b3f1da6875394fec&state=processing HTTP/1.1" 404 152 "-" "python-requests/2.23.0"
41.212.43.99 - - [26/Jun/2020:17:44:03 -0400] "GET /bigbluebutton/api/getRecordings?checksum=92adf9d9eaa7cbf0da88cc317010b236205e03c4&state=published HTTP/1.1" 404 152 "-" "python-requests/2.23.0"
41.212.43.99 - - [26/Jun/2020:17:44:03 -0400] "GET /bigbluebutton/api/getRecordings?checksum=e222b85a2289abe5425b97de032af63db0383aa7&state=deleted HTTP/1.1" 404 152 "-" "python-requests/2.23.0"
41.212.43.99 - - [26/Jun/2020:17:44:17 -0400] "GET /bigbluebutton/api/getMeetings?checksum=7a85bd3ec631a16f45c3056ec805a1c181b75fe0 HTTP/1.1" 404 152 "-" "python-requests/2.23.0"
41.212.43.99 - - [26/Jun/2020:17:44:18 -0400] "GET /bigbluebutton/api/getRecordings?checksum=16589a40ba06eca3c7959008661be61d2475533d&state=unpublished HTTP/1.1" 404 152 "-" "python-requests/2.23.0"
41.212.43.99 - - [26/Jun/2020:17:44:18 -0400] "GET /bigbluebutton/api/getRecordings?checksum=af67b5d5b199434c9ad664a7b3f1da6875394fec&state=processing HTTP/1.1" 404 152 "-" "python-requests/2.23.0"
41.212.43.99 - - [26/Jun/2020:17:44:18 -0400] "GET /bigbluebutton/api/getRecordings?checksum=92adf9d9eaa7cbf0da88cc317010b236205e03c4&state=published HTTP/1.1" 404 152 "-" "python-requests/2.23.0"
41.212.43.99 - - [26/Jun/2020:17:44:18 -0400] "GET /bigbluebutton/api/getRecordings?checksum=e222b85a2289abe5425b97de032af63db0383aa7&state=deleted HTTP/1.1" 404 152 "-" "python-requests/2.23.0"
41.212.43.99 - - [26/Jun/2020:17:44:34 -0400] "GET /bigbluebutton/api/getMeetings?checksum=7a85bd3ec631a16f45c3056ec805a1c181b75fe0 HTTP/1.1" 200 171 "-" "python-requests/2.23.0"

Requested Outbound Connection

Outbound Amplification of DNS (exceeds 100 requests)

Adjusting the prometheus.yaml

Default

global:
  scrape_interval: 15s
  evaluation_interval: 15s
  scrape_timeout: 15s

Changed to

global:
  scrape_interval: 120s
  evaluation_interval: 120s
  scrape_timeout: 10s

Bring the Docker image up and the amount of DNS requests have dropped to about 10.

Somewhere in the scraping API is causing this DNS query issue or a possible configuration requirement to allow for a localhost lookup instead of an external lookup? Just my thoughts.

Grafana Dashboards with CPU and RAM usage

Hi,

first of all I have to tell you that I think your project is very good. I used your project in my company (we are an IT company that supports schools in our country with the technical infrastructure). My colleagues think the dashboards are great. And especially when people think something is good, they naturally have suggestions for improvement.
One of them is: Is it possible that the dashboards also show CPU and RAM usage?
I myself am not familiar with Prometheus and Grafana at all; I always copy your configurations. If there is an update, they are simply imported.

Thanks for sharing your project with us :)

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.