since a few Days i run my first node whit 4TB on my Raspberry.
Until this time, i check the Dashboard and when i am at home the status of the pi via SSH every few minutes.
I do this just because im new whit Storj and some Raspberry Stuff.
But im not happy, that i do this all over SSH and only at home.
Is there anybody who can explain me, how i can get good monitoring of my PI (CPU/Ram/Temp), HDD and Storj (Audits, earnings, Upload, Download an much more).
So i say thanks to anybody who can help me whit a little tutorial or something.
The installation of Prometheus server has also an client āNode Exporterā installed (cpu, ram, network, ā¦), you just need a second dashboard for it.
This client is also available as a separate installation.
Storj-exporter translates metrics available in storj node api to prometheus format. Same metrics are used in native storj dashboard but you can have multiple nodes on the same page with grafana and customise as needed. With prometheus you can also setup alerts for specific events you want to watch for.
There are lots of solutions available to also monitor generic system metrics with prometheus/grafana as itās becoming one of industry standard monitoring systems. You can extend my dashboard to include system metrics or find the one that works for you in grafana community.
docker run -d --link=storagenode --name=storj-exporter -p 9651:9651 anclrii/storj-exporter:latest
After that i install grafana whit the Guide from the Grafana Homepage.
I restart my Storj node whit this command:
docker run -d --restart always -p 28967:28967 -p 127.0.0.1:14002:14002 -e WALLET=āi dont show hereā -e EMAIL=āi dont show hereā -e ADDRESS=āi dont show hereā -e BANDWIDTH=ā141ā¬TBā -e STORAGE=ā3.4TBā --mount type=bind,source=/home/pi/.local/share/storj/identity/storagenode,destination=/app/identity --mount type=bind,source=/mnt/storagenode,destination=/app/config --name storagenode storjlabs/storagenode:beta
After all i try to start the Storj-Exporter but it exit after a few seconds.
>
> CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
> 2e5b2bc108bf anclrii/storj-exporter:latest "python ./storj-expoā¦" 51 seconds ago Exited (1) 48 seconds ago storj-exporter
If i delet this docker, and check ps -ef| grep storj-exporter i get this:
pi 30879 30272 0 14:43 pts/0 00:00:00 grep --color=auto storj-exporte
if i try to kill this, it restarts every time whit a new id.
So, what can i do, that all works?
(If someone here who can help me in german, please DM me)
It seems to work.
I build my own Docker Image and now it Works
I have one last problem.
The Node explorer data in Grafana is very slow while updating. Maybe every 2 Minutes.