Skip to content

Commit

Permalink
Merge pull request greenstatic#59 from amg-web/master
Browse files Browse the repository at this point in the history
Grafana recordings title correction and Nginx config docs improvement.
  • Loading branch information
greenstatic authored Oct 1, 2020
2 parents 04474fc + b71b0ce commit 4abfc6b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
7 changes: 2 additions & 5 deletions docs/installation/all_in_one_monitoring_stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ sudo docker-compose up -d
```

### 5. Configure Nginx
Add the location directive to your Nginx web server (`/etc/nginx/sites-available/bigbluebutton`) that will proxy traffic to
`127.0.0.1:3001`.
Add the location directive monitoring.nginx to your Nginx web server (`/etc/bigbluebutton/nginx/monitoring.nginx` - config from this location will be loaded automatically by nginx BigBlueButton config) that will proxy traffic to `127.0.0.1:3001`.

```text
# BigBlueButton monitoring
Expand All @@ -98,9 +97,7 @@ location /monitoring/ {
variable as well.

!!! Tip
When upgrading BigBlueButton, the upgrade procedure will overwrite the contents of `/etc/nginx/sites-available/bigbluebutton`
thereby causing you to lose access to your metrics.
So after the upgrade to BigBlueButton you will need to add the location directive again.
When upgrading BigBlueButton, the upgrade procedure will not overwrite the contents of `/etc/bigbluebutton/nginx/`folder.

You could also add a separate site configuration, but this will require you to point another domain to the server to
do virtual hosting and acquire a separate HTTPS certificate.
Expand Down
8 changes: 2 additions & 6 deletions docs/installation/bigbluebutton_exporter.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ sudo htpasswd -c /etc/nginx/.htpasswd metrics
If you already have `/etc/nginx/.htpasswd` file then do not add the `-c` flag, otherwise you will overwrite the file.

### 6. Add Nginx site configuration
Add the location directive to your Nginx web server (`/etc/nginx/sites-available/bigbluebutton`) that will proxy traffic to
`127.0.0.1:9688`.
Add the location directive to your Nginx web server (`/etc/bigbluebutton/nginx/metrics.nginx` - BigBlueButton Nginx config will load config from location `/etc/bigbluebutton/nginx/*.nginx`) that will proxy traffic to
`127.0.0.1:9688`.

```text
# BigBlueButton Exporter (metrics)
Expand All @@ -109,10 +109,6 @@ location /metrics/ {
```

!!! Tip
When upgrading BigBlueButton (using the script), the upgrade procedure will overwrite the contents of `/etc/nginx/sites-available/bigbluebutton`
thereby causing you to lose access to your metrics.
So after the upgrade you will need to add the location directive again.

You could also add a separate site configuration, but this will require you to point another domain to the server,
configure virtual hosting and acquire a separate HTTPS certificate.

Expand Down
2 changes: 1 addition & 1 deletion extras/dashboards/all_servers.json
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@
],
"timeFrom": null,
"timeShift": null,
"title": "Recordings Processing",
"title": "Recordings Unprocessed",
"type": "gauge"
},
{
Expand Down

0 comments on commit 4abfc6b

Please sign in to comment.