diff --git a/distros/raspberry_pi/grafana/dashboards/node_monitoring.json b/distros/raspberry_pi/grafana/dashboards/node_monitoring.json index 24e1f90..719704f 100644 --- a/distros/raspberry_pi/grafana/dashboards/node_monitoring.json +++ b/distros/raspberry_pi/grafana/dashboards/node_monitoring.json @@ -124,7 +124,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.2", + "pluginVersion": "11.5.2", "targets": [ { "datasource": "InfluxDB_v1", @@ -251,7 +251,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "11.2.2", + "pluginVersion": "11.5.2", "targets": [ { "alias": "cpu_load", @@ -764,7 +764,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.2", + "pluginVersion": "11.5.2", "targets": [ { "datasource": "InfluxDB_v1", @@ -901,7 +901,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.2", + "pluginVersion": "11.5.2", "targets": [ { "datasource": "InfluxDB_v1", @@ -956,8 +956,8 @@ "overrides": [] }, "gridPos": { - "h": 3, - "w": 4, + "h": 2, + "w": 2, "x": 0, "y": 5 }, @@ -982,7 +982,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.2", + "pluginVersion": "11.5.2", "targets": [ { "datasource": "InfluxDB_v1", @@ -1014,6 +1014,31 @@ "title": "Chain head", "type": "stat" }, + { + "fieldConfig": { + "defaults": {}, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 2, + "x": 2, + "y": 5 + }, + "id": 46, + "options": { + "code": { + "language": "plaintext", + "showLineNumbers": false, + "showMiniMap": false + }, + "content": "
\r\n \r\n \"Web3Pi\r\n \r\n
\r\n", + "mode": "markdown" + }, + "pluginVersion": "11.5.2", + "title": "", + "type": "text" + }, { "datasource": "InfluxDB_v1", "description": "", @@ -1255,14 +1280,20 @@ "overrides": [] }, "gridPos": { - "h": 6, + "h": 7, "w": 4, "x": 0, - "y": 8 + "y": 7 }, "id": 16, "options": { "displayMode": "lcd", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, "maxVizHeight": 300, "minVizHeight": 16, "minVizWidth": 0, @@ -1283,7 +1314,7 @@ }, "valueMode": "text" }, - "pluginVersion": "11.2.2", + "pluginVersion": "11.5.2", "targets": [ { "datasource": "InfluxDB_v1", @@ -3910,7 +3941,7 @@ } ], "refresh": "10s", - "schemaVersion": 39, + "schemaVersion": 40, "tags": [], "templating": { "list": [ diff --git a/distros/raspberry_pi/grafana/img/web3pi_logo.png b/distros/raspberry_pi/grafana/img/web3pi_logo.png new file mode 100644 index 0000000..e7e496f Binary files /dev/null and b/distros/raspberry_pi/grafana/img/web3pi_logo.png differ diff --git a/distros/raspberry_pi/install.sh b/distros/raspberry_pi/install.sh index 53a2324..3d77f84 100644 --- a/distros/raspberry_pi/install.sh +++ b/distros/raspberry_pi/install.sh @@ -582,6 +582,9 @@ if [ "$(get_install_stage)" -eq 2 ]; then # Copy dashboards.yaml for grafana cp /opt/web3pi/Ethereum-On-Raspberry-Pi/distros/raspberry_pi/grafana/yaml/dashboards.yaml /etc/grafana/provisioning/dashboards/dashboards.yaml + # Copy images for grafana + cp /opt/web3pi/Ethereum-On-Raspberry-Pi/distros/raspberry_pi/grafana/img/*.png /usr/share/grafana/public/img/ + systemctl start grafana-server