In this tutorial, we will show you how to install Monitorix on Debian 10. For those of you who didn’t know, Monitorix is a free, open-source, lightweight system monitoring tool designed to monitor servers, services, and devices. It has been created to be used under production UNIX/Linux servers, but due to its simplicity and small size, you may also use it on embedded devices as well.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of Monitorix on a Debian 10 (Buster) server.
Prerequisites
- A server running one of the following operating systems: Debian 10 (Buster).
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Monitorix on Debian 10 Buster
Step 1. Before we install any software, it’s important to make sure your system is up to date by running the following apt
commands in the terminal:
apt update apt upgrade
Step 2. Installing Monitorix on Debian 10.
Install below prerequisite packages to Debian based system:
apt install gnupg2 sudo
Next, install the GPG key:
wget -qO - https://apt.izzysoft.de/izzysoft.asc | sudo apt-key add - echo "deb [arch=all] https://apt.izzysoft.de/ubuntu generic universe" > /etc/apt/sources.list.d/monitorix.list
Then, Install Monitorix on the Debian system using the following command:
apt install monitorix
Verify the installed version of Monitorix:
monitorix -v
Once Monitorix is installed, it is started and enabled to run on system boot by default:
sudo systemctl start monitorx sudo systemctl enable monitorx sudo systemctl restart apache2
Step 3. Configure Monitorix Network Monitoring Tool.
Once, you’ve started service, the program will start collecting system information according to a configuration set in ‘/etc/monitorix.conf
‘
nano /etc/monitorix/monitorix.conf
... title = Debian 10 Buster - idroot-demo.us hostname = debian10.idroot-demo.us theme_color = black refresh_rate = 160 iface_mode = graph ...
Step 4. Accessing Monitorix.
Navigate your browser to http://localhost:8080/monitorix
or http://IP-Address:8080/monitorix
and choose the Graph and hit ok to view the graph. See the below screenshot for the Monitorix Home page.
Congratulations! You have successfully installed Monitorix. Thanks for using this tutorial for installing Monitorix on Debian 10 Buster system. For additional help or useful information, we recommend you to check the official Monitorix website.