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
# Edge Device (e.g. raspberry pi) Monitoring by means of composite docker application on [Balena OS](https://www.balena.io/os/).
1
+
# Edge device (e.g. raspberry pi) monitoring by means of composite docker application on [Balena OS](https://www.balena.io/os/).
2
2
3
-
This composite docker application monitors the system resources of the device where it is deployed on. This application 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/).
3
+
This repository describes a composite docker application that monitors the system resources of the device where it is deployed on. This application 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/).
4
4
5
5
It consists of the following three docker containers (= TIG stack)
6
6
@@ -10,14 +10,16 @@ It consists of the following three docker containers (= TIG stack)
10
10
11
11
The Grafana user interface can be accessed (login and password is `admin`) at port 80 of the host OS. This also means that you can access it through the `public device URL` that you can find in your [BalenaCloud](https://www.balena.io/) dashboard. In other words you can access your Grafana dashboards wherever you have internet access !
12
12
13
-
Here below a screenshot of the dashboard that is also provisioned by this application ( file is `grafana\dashboards\system metrics.json`)
13
+
Here below a screenshot of the `system metrics`dashboard that is also provisioned by this application ( file is `grafana\dashboards\system metrics.json`)
If you want to add or update a Grafana Dashboard then this can be done through following steps:
19
+
If you want to add a new Grafana Dashboard then this can be done through following steps (Updating happens in a similar way):
20
20
21
-
1. Create (or Update) the dashboard in Grafana
22
-
2. From the settings menu in Grafana select `View JSON` and copy the complete json file
23
-
3. Create a file with extension `.json` in folder `grafana\dashboards` and ....
21
+
1. Create the dashboard in Grafana
22
+
2. From the settings menu in Grafana select `View JSON` and copy the complete json file (**don't use the grafana `export` feature** as this will template the datasource and will not work due to that).
23
+
3. Create a file with extension `.json` in folder `grafana\dashboards` and paste the json contents you have copied in previous step into this file.
24
+
4. Changes replace the ID number by null. E.g. ` "id": 1,` should be changed into ` "id": null,`
25
+
5. Commit your changes and push them to Balena Cloud.
0 commit comments