Raspberry Pi

How to Monitor Raspberry Pi using RPi-Monitor

RPi-Monitor is an open-source application written in Perl language that allows Raspberry Pi users to monitor the Raspberry Pi metrics. It consists of two parts, namely, daemon and web interface. The daemon is a service that runs in the background on your Raspberry Pi and monitors your device metrics such as CPU time, temperature, storage information and more. While on the other hand, all these metrics are available to you on a web interface, which can easily be accessed on your browser.

This article presents a detailed guideline for installing RPi-Monitor on your Raspberry Pi so that you can easily monitor your device metrics on your browser.

Installing RPi-Monitor on Raspberry Pi

The developers of Raspberry Pi don’t include the RPi-Monitor repository in the official Raspberry Pi repository list; thus, you cannot install it directly on your device. To successfully perform the installation, follow the below steps:

Step 1: Update Raspberry Pi Packages

Initially, you must ensure the Raspberry Pi packages are up to date and to do this issue the following command in the terminal:

$ sudo apt update && sudo apt upgrade -y

Step 2: Add GPG Key

Next, you will need to add a GPG key using the following command as this will help us to verify the packages in the RPi-Monitor repository.

$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2C0D3C0F

Step 3: Add RPi-Monitor Repository

After adding the key, you can now add the RPi-Monitor repository using the following command:

$ sudo wget http://goo.gl/vewCLL -O /etc/apt/sources.list.d/rpimonitor.list

Step 4: Update Raspberry Pi Source List

After successfully adding the RPi-Monitor repository, you will need to update the Raspberry Pi source list using the following command:

$ sudo apt update

The above command will successfully update the repository list.

Optional Step: In case you encounter any error while updating the RPi-Monitor repository, you will then need to open the source list configuration file using the following command:

$ sudo nano /etc/apt/sources.list.d/rpimonitor.list

Then change the address “http://gitdeuberger.fr rpimonitor/” with “https://www.gitdeuberger.fr rpimonitor/”. Save the file and then perform an update again.

Step 5: Install RPi-Monitor on Raspberry Pi

After successfully updating the source list without an error, you can then apply the following command to install RPi-Monitor on your Raspberry Pi device:

$ sudo apt install rpimonitor

Step 6: Check Status of RPi-Monitor on Raspberry Pi

Once completing the RPi-Monitor installation, ensure that its service is running on your Raspberry Pi device using the following command:

$ sudo systemctl status rpimonitor

Step 7: Accessing RPI-Monitor on Raspberry Pi

If the above step outputs an active running status of your RPi-Monitor service on your device, you can go to your browser and enter the address “http://192.168.100.43:8888” to access the RPi-Monitor web interface.

You will need to add your device’s IP address in place of “192.168.100.43” and you can find it easily using the “hostname -I” command in the terminal.

With the web interface now appearing on your browser, you can easily monitor several metrics related to your Raspberry Pi like device memory, SD card information and much more.

Conclusion

RPi-Monitor is a lightweight application that enables users to monitor the Raspberry Pi device information such as memory storage, temperature, and CPU resources. You can install this application on your Raspberry Pi device from the above-mentioned steps. Once the installation is completed, you can access the RPi-Monitor web interface to get the information related to your Raspberry Pi device.

About the author

Awais Khan

I'm an Engineer and an academic researcher by profession. My interest for Raspberry Pi, embedded systems and blogging has brought me here to share my knowledge with others.