You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,17 @@
2
2
3
3
## Features
4
4
This project is actually a proof of concept to demonstrate the following features:
5
-
1. The ability to run many containers on a [Raspberry Pi 3 Model B+](https://www.raspberrypi.org/products/raspberry-pi-3-model-b-plus/) (see [section 1. What](#1-what)).
6
-
2. The Built and Deployment of this multi container application using the [BalenaCloud](https://www.balena.io/) services.(see [section 2. How to install ...](#2-how-to-install-this-application-on-an-edge-device))
5
+
1. The ability to run **many** containers on a **Raspberry Pi 3 Model B+** (see [section 1. What](#1-what)).
6
+
2. The Built and Deployment of this multi container application using the **BalenaCloud** services.(see [section 2. How to install ...](#2-how-to-install-this-application-on-an-edge-device))
7
7
3. Monitoring the system resources of the raspberry pi using the **TIG** stack (see [section 3. System resource monitoring ...](#3-system-resource-monitoring-using-the-tig-stack-telegraf-influxdb--grafana)):
8
-
4. That [Grafana](https://grafana.com/) is very nice and powerful tool to create dashboards (see [section 4. Grafana](#4-grafana)) and that it is easy to create or update those dashboards (see [section 4.1 Updating and adding ...](https://github.com/janvda/balena-edge-device-monitoring/blob/node-red/README.md#41-updating--adding-new-grafana-dashboards)).
8
+
4. That **Grafana** is very nice and powerful tool to create dashboards (see [section 4. Grafana](#4-grafana)) and that it is easy to create or update those dashboards (see [section 4.1 Updating and adding ...](https://github.com/janvda/balena-edge-device-monitoring/blob/node-red/README.md#41-updating--adding-new-grafana-dashboards)).
9
9
5. It is possible to run multiple Node-RED instances on the same device.
10
10
6. It is possible to run multiple MQTT brokers on the same device.
11
11
7. A USB memory stick connected to the pi can be used for storing specific data (in this case it is the influxdb data)
12
12
8. It is possible to access the Grafana user interface and the 2 Node-RED editors over the internet by enabling the Balena public URL and properly configuring the [nginx](http://nginx.org/en/docs/) container.
13
13
14
14
## 1. What
15
-
The `node-red` branch of this github repository describes a composite docker application consisting of **"8"** containers that can be deployed through [BalenaCloud](https://www.balena.io/) on any arm device (e.g. a raspberry pi) running the [balena OS](https://www.balena.io/os/).
15
+
The `node-red` branch of this github repository describes a composite docker application consisting of **"8"** containers that can be deployed through [BalenaCloud](https://www.balena.io/) on any arm device (e.g. a [Raspberry Pi 3 Model B+](https://www.raspberrypi.org/products/raspberry-pi-3-model-b-plus/)) running the [balena OS](https://www.balena.io/os/).
16
16
17
17
So, this application consists of the following 8 docker containers (= TIG stack + 2x Node-RED + 2x MQTT broker + Nginx )
18
18
1.[Telegraf](https://www.influxdata.com/time-series-platform/telegraf/) - agent for collecting and reporting metrics and events
@@ -23,7 +23,7 @@ So, this application consists of the following 8 docker containers (= TIG stack
23
23
4.[nginx](http://nginx.org/en/docs/) - configured as reverse-proxyserver so that the http/https request becomes routed to grafana (port 30000) and the http/https request for path `/node-red` become routed to node-red (port 1880).
24
24
25
25
## 2. How to install this application on an edge device
26
-
It is very easy to install this application through following steps:
26
+
It is very easy to install this application using the [BalenaCloud](https://www.balena.io/) services through following steps:
27
27
1.[Balena Setup](https://www.balena.io/): you need a BalenaCloud account and your edge device must be running the BalenaOs. You also need to create an application in your balena dashboard and associate your edge device to it (see balena documentation).
28
28
2. clone this github repository (this can be done on any device where git is installed) through the following command `git clone https://github.com/janvda/balena-edge-device-monitoring.git` (instead of directly cloning the repository it migh be better to fork the github repository and then clone this forked repository).
29
29
3. Move into this repository by command `cd balena-edge-device-monitoring`
@@ -39,8 +39,7 @@ The system resource monitoring is realized by the TIG stack and happens as follo
39
39
3. The [Grafana](https://grafana.com/) container has a dashboard (see screenshot below) showing these system metrics that it has retrieved from the influxdb.
40
40
41
41
## 4. Grafana
42
-
43
-
The Grafana user interface can be accessed at port 3000 of the host OS.
42
+
The [Grafana](https://grafana.com/) user interface can be accessed at port 3000 of the host OS.
0 commit comments