User avatar
seven7s
Posts: 4
Joined: Fri Mar 25, 2016 4:37 pm
Location: Casa Grands, AZ
Contact: Website

How to setup CPU usage and temperature monitoring

Mon Oct 22, 2018 5:56 pm

Hi, I am new at this.
I setup a Raspberry PI cluster using 7 x Model 3B+'s and an older 8 port 10/100 switch.
I am currently using a Samsung 32GB EVO Select SDHC UHS-1 card in each one
P1000524-2x15.jpg
P1000524-2x15.jpg (179.72 KiB) Viewed 1510 times
See picture
I installed 2018-10-09-raspbian-stretch on node 00
I installed 2018-10-09-raspbian-stretch-lite on nodes 01 through 06
I installed BOINC with seti@home on nodes 01 through 06
I created an alias for temp and running a python script that displays the temp over time on all nodes
I installed sysstat, conky, & boinc on all nodes
I attached nodes 01 through 06 to seti@home
I installed Docker and Docker Swarm, along with Docker Visualizer, Portainer, Redis & OpenFaas

The instructions at the following helped immensely, (it took me three tries to get node 00 working properly as I tried to use raspbian-stretch-lite the 1st 2 times )
Raspberry Pi 3 Super Computing Cluster Part 1 - Hardware List and Assembly
https://www.youtube.com/watch?v=KJKhRLKXr-Q&t=1297s
Raspberry Pi 3 Super Computing Cluster Part 2 - Software Config
https://www.youtube.com/watch?v=eZ5uX-JJbyY
Raspberry Pi Cluster with Docker and OpenFaaS (and SETI)
https://6figuredev.com/learning/raspber ... -and-seti/

I am in the process of learning how to use Docker and the associated tools.
I am accessing these through SSH and a browser on a Windows 10 pc

I would like to setup monitoring with graphs for
  • CPU temperature, instant and over time
    CPU usage, instant and over time
    Disk space available
    Disk Usage
    Alerts for HW failures with emails sent to me.
I am attempting to connect a 4TB USB 3.0 disk as well. and getting errors

Suggestions and questions are welcome.

User avatar
seven7s
Posts: 4
Joined: Fri Mar 25, 2016 4:37 pm
Location: Casa Grands, AZ
Contact: Website

Re: How to setup CPU usage and temperature monitoring

Mon Oct 22, 2018 8:23 pm

I added exFAT support to node 00 connected the 4TB drive

ejolson
Posts: 5474
Joined: Tue Mar 18, 2014 11:47 am

Re: How to setup CPU usage and temperature monitoring

Tue Oct 23, 2018 4:03 am

seven7s wrote:
Mon Oct 22, 2018 8:23 pm
I added exFAT support to node 00 connected the 4TB drive
Welcome to the forum!

I like the design of your cluster. I put together a super-cheap cluster of Pi Zero computers that was also powered by a single USB hub. Rather than Docker or SETI at Home, I installed Slurm and MPI to use the cluster for parallel processing.

User avatar
seven7s
Posts: 4
Joined: Fri Mar 25, 2016 4:37 pm
Location: Casa Grands, AZ
Contact: Website

Re: How to setup CPU usage and temperature monitoring

Tue Oct 23, 2018 4:34 am

Thanks for the welcome, this inexpensive cluster is allowing me to learn about docker, containers, etc.; I will be experimenting with docker & RPI Monitor
https://xavierberger.github.io/RPi-Moni ... ation.html, to see what I can learn from that.

Return to “General discussion”