Home / How To / Install and configure Monitorix monitoring software on Debian 10

Install and configure Monitorix monitoring software on Debian 10

Monitorix is ​​a lightweight computer network monitoring tool that can be used to monitor the system's overall performance. It collects system data and displays the information as a diagram with the web interface. It can run on most Linux-based operating systems including CentOS, Debian, Ubuntu, FreeBSD, OpenBSD and NetBSD.

Monitorix has a rich set of features some of which are listed below:

  • System Load Average and Usage
  • Core usage per processor.
  • Global Nuclear Use.
  • HP ProLiant System Health.
  • Statistics on generic sensors.
  • LM sensors and GPU temperatures.
  • NVIDIA temperatures and usage.
  • Disk unit temperatures and health.
  • File system usage and I / O activity.
  • Network traffic and usage.

In this tutorial, I will explain how to install Monitorix monitoring server on Debian 1

0. [19659014] Prerequisites
  • A server running Debian 10.
  • A root password is configured on your server.

Getting Started

Before you begin, it is recommended that you update your server with the latest version. You can update it with the following command:

  apt-get update -y 
apt-get upgrade -y

Once your server is updated, restart it to make the changes.

Install Monitorix [19659018] First, download the latest version of monitoring from their official site with the following command:

  wget https://www.monitorix.org/monitorix_3.11.0-izzy1_all.debebrit19659020??When the download is ready install the downloaded file with the following command: 

  dpkg -i monitorix_3.11.0-izzy1_all.deb 

The above command will cause some dependency error. You can resolve all dependencies with the following command:

  apt-get install -f 

After installing Monitorix, start the Monitorix service and enable it after system startup with the following command:

  systemctl start monitorix 
systemctl enable monitorix


  monitorix.service is not a built-in service that redirects to systemd-sysv-install.
Execute: / lib / systemd / systemd-sysv-install enable monitorix

You can now verify the Monitorix service by running the following command:

  systemctl status monitorix 

You should see the following output:

? monitorix.service - LSB: Launch the Monitorix daemon
Loaded: loaded (/etc/init.d/monitorix; generated)
Active: active (running) since Sun 2019-12-29 16:05:19 UTC; 30s ago
Document: man: systemd-sysv generator (8)
Details: 1 (limit: 2359)
Memory: 71.0 M
CGroup: /system.slice/monitorix.service
?? 9827 / usr / bin / monitorix -c /etc/monitorix/monitorix.conf -p /var/run/monitorix.pid

Dec 29 16:05:18 debian10 systemd [1]: Start LSB: Start Monitorix daemon ...
Dec 29 16:05:19 debian10 monitorix [9822]:.
Dec 29 16:05:19 debian10 systemd [1]: Started LSB: Start Monitorix daemon.

To check the installed version of Monitorix, run the following command:

  monitorix -v 

You should get the following output:

  Monitorix version 3.11.0 (14-Mar-2019)
by Jordi Sanfeliu <[email protected]>

Configuring Monitorix

The default configuration file for Monitorix is ​​located at /etc/monitorix/monitorix.conf. You need to edit it and make some changes according to your system details.

You can edit it with the following command:

  nano /etc/monitorix/monitorix.confebrit19659020??Change the following lines: [19659031] title = Monitorix Monitoring Server
hostname = debian10
host = debian10
hosts_deny = all
hosts_allow =
enabled = y

Save and close the file when you are done.

Next, you must create a user to authenticate Monitorix.

First install the Apache Utilities package with the following command:

  apt-get install apache2-utils -y 

Then create a user for Monitorix with the following command:

  htpasswd -d -c / var / lib / monitorix / htpasswd admin 

You will be prompted to set the password for the user as shown below:

  New password:
Enter new password:
Add user administrator password

Then restart the Monitorix service to implement the changes.

  systemctl restart monitorix 

By default, Monitorix listens to port 8080. You can verify it with the following command:

  netstat -ant | grep 8080 


  tcp6 0 0 ::: 8080 ::: * LISTEN
tcp6 0 0 :: 1: 8080 :: 1: 45178 TIME_WAIT

Access Monitorix Web UI

Now open your web browser and type the URL http: // your-server-ip: 8080 / monitorix . You will be redirected to the Monitorix login page:

 Monitorix login

Enter your Monitorix username, password and click the Log in button. You should see the Monitorix dashboard on the following page:


 System load shown in Monitorix

Global core usage, file system usage and I / O activity

 Global core usage, file system usage and I / O activity

Network traffic, usage and Netstat statistics

 Network traffic, usage and Netstat statistics [19659039]Congratulations! you have installed the Monitorix monitoring server on Debian 10.

  Hitesh Jethva

About Hitesh Jethva

Over 8 years experience as a Linux system administrator. My skills include deep knowledge of Redhat / Centos, Ubuntu Nginx and Apache, Mysql, Subversion, Linux, Ubuntu, web hosting, web server, octopus proxy, NFS, FTP, DNS, Samba, LDAP, OpenVPN, Haproxy, Amazon web services, WHMCS, OpenStack Cloud , Postfix Mail Server, Security etc.

Source link