Linux

How to Use Monitorix on Debian

Share on:

Table of Contents

Monitorix is a free, open source, lightweight system monitoring tool designed to monitor as many services and system resources as possible. It has been created to be used under production Linux/UNIX servers, but due to its simplicity and small size can be used on embedded devices as well.

With Monitorix you can perform system monitoring easily. And with the certainty that it consumes almost no resources and is easy to use.

Monitorix is an open-source project and, just like any other open-source project, anyone can contribute with his time and knowledge. So, you won’t have any licensing problems, and you will be able to use it in any circumstances.

Monitorix has been designed to perform a basic, simple, and fast monitoring of the Linux system, but it is useful on almost any server. For this reason, it is convenient to have it at hand to know how to use it.

Monitorix Features

  • System load.
  • Active processes.
  • Memory allocation.
  • System entropy.
  • System uptime.
  • LM-Sensors and GPU temperatures
  • Nvidia and AMD Graphics
  • Disk drive temperatures and health
  • ZFS statistics
  • Network traffic and usage

And many other things like mail server, FTP, and file systems. It even monitors database servers like PostgreSQL.

Install Monitorix on Debian

Monitorix provides great support for Debian and its derivatives, and that’s why you can find it in the official Debian repositories.

Update system

sudo apt update
sudo apt upgrade

Install it with the following command

sudo apt install monitorix

It install the Monitorix itself, but also all the PERL modules required for it to work. So, you will see a long output screen, but the application is simple.

Configure Monitorix

If Monitorix is installed correctly and its service is running. To achieve this, run the following command:

systemctl status monitorix

Monitorix status

By default, when you install Monitorix, it comes with an out-of-the-box configuration file that actually does its job. However, if you want to edit it, it is this

/etc/monitorix/monitorix.conf

Before editing it, make a backup

sudo cp /etc/monitorix/monitorix.conf /etc/monitorix/monitorix.conf.bak

and edit it with your favorite text editor

sudo nano /etc/monitorix/monitorix.conf

To get further information about this file what you can do, the most convenient thing to do is to check the documentation of Monitorix.

One thing to note is that Debian also includes the /etc/monitorix/conf.d/00-debian.conf file, which, although it has a lower priority than the main file, can overwrite some configurations. Especially those that are ported to Debian.

When you are done making the changes, you can restart the service to apply the changes

sudo systemctl restart monitorix

Access Monitorix

Then, open any web browser and go to http://server-url:8080/monitorix.

Monitorix on Debian

Monitorix