Prometheus ProbePush on a Raspberry Pi with a SI7021
- John
- March 28, 2023
Deploy a bunch of RPi Zero W’s equipped with SI7021’s around the house and get ready to monitor your air! #!/usr/bin/python3 import smbus import time import requests import platform bus = smbus.SMBus(1) # SI7021 address, 0x40(64) # Read data, 2 bytes, Humidity MSB first rh = bus.read_i2c_block_data(0x40, 0xE5, 2) #what really happens here is that […]
Read MoreHow to Install Zabbix 6.0 on a Raspberry Pi
… or actually, a few Raspberry Pis! I’d like to install the Zabbix monitoring suite and have decided to split up the workload across 3 Raspberry Pi 3B’s. Just like in actual production, we’ll have a Zabbix front-end, a Zabbix Proxy polling server, and a Raspberry Pi database server. The Story So Far… IF you’re […]
Read MoreHow to Create a Local Self-Hosted MQTT Mosquitto Broker on a Raspberry
- John
- April 28, 2022
I have a bunch of stuff that I’ve slowly been installing in the house that I’m realizing that I need a cohesive and coherant way to control and use. I have Alexa PhotoShow5, and a Amazon Dot, some Ubiquiti cameras, HUE lights, smart TVs, WiFi enabled thermostats, smart laundry, and who knows what else? I […]
Read MoreWhy dnsmasq is so Awesome!
- John
- April 3, 2022
In my last post, I walked you through the steps in setting up disk-less booting. Pretty cool that we went from booting from SD cards, to USB drives, to booting off the network! But for some reason, the TFTP server that I installed, won’t stay running as a service. Looking at the documentation and the […]
Read MoreHow to PXE boot a Raspberry
- John
- March 27, 2022
So far, we’ve built an NFS server and a TFTP server. Next, we’re going to populate those servers with the files that are needed to boot a Raspberry. The contents of /boot will be served by the TFTP server and the entirety of /root will be served by the NFS server. Download the latest Raspberry […]
Read MoreHow to Build a TFTP Server on a Raspberry Pi
- John
- March 27, 2022
The next piece of the puzzle for our Raspberry PXE boot environment is a TFTP server. In the last post, we set up an NFS server for the bulk of the OS files. In this post, we need to really dumb it down to brass tacks. We need to share files across the network, without […]
Read MoreHow to Build an NFS Server on Raspberry Pi
- John
- March 27, 2022
I’d like to start setting up a PXE boot environment for Raspberry Pis on my network. Essentially, I should be able to boot a Raspberry just by plugging in the Ethernet cable and the power cable, and if everything is set up properly, the thing will boot with NO LOCAL MEDIA–no SD card, no USB […]
Read MoreSBATCH commands to submit an HPC job to Slurm
- John
- March 18, 2022
One of the first stumbling blocks of learning to use an HPC (High-Performance Cluster) is learning to submit a job to the queue. That job will be run by the nodes in the queue, not on the computer where you ran it. The SBATCH script is sort of like a shell script with a whole […]
Read MoreRunning a Raspberry Pi HPC Cluster
- John
- March 18, 2022
Some Slurm Commands scontrol show partition Use this command to check the configuration of your partition. It tells you things like how many CPUs are available or if the configuration you put in place is working the way you had planned. scontrol show config If you need a little bit more details, this command will […]
Read MoreHow to Build an HPC (High-Performance Cluster) with Raspberry Pi Computers
- John
- March 16, 2022
How would you like to have a supercomputer in your home? Multiple cores, network-attached storage, job scheduling, and process control all sitting on your desktop! The Raspberry Pi can make that a reality. Well, sort of. An HPC is a group of individual computers, all running in parallel, and managed by a central computer. And […]
Read More