How To Install Monitorix on Ubuntu 16.04

In this tutorial we will show you how to install and configuration of Monitorix on your Ubuntu 16.04 server. For those of you who didn’t know, For those of you who didn’t know, Monitorix is a free, open source, lightweight system monitoring tool designed to monitor server, service and devices. Monitorix allows to monitor overall system performance and also help in detecting bottlenecks, failures, unwanted long response times and other abnormal activities.

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 through the step by step installation Monitorix Network Monitoring Tool on a Ubuntu 16.04 (Xenial Xerus) server.

Monitorix features

  • Global kernel usage
  • Unlimited number of network ports supported.
  • Unlimited number of Apache servers supported.
  • Ability to define the number of graphs per row.
  • Ability to enable traffic monthly reports.
  • Ability to zoom in any graph.
  • Ability to show network metrics in MBytes/sec or Mbits/sec.
  • Monitors Disk drive temperatures and health.
  • Filesystem usage and I/O activity of filesystems.
  • Network traffic usage up to 10 network devices.
  • Netstat statistics.
  • System services demand (SSH, ProFTPD, Samba, CUPS, Fail2ban, IMAP, POP3, SMTP, etc…)
  • Squid Proxy Web Cache statistics.
  • Built-in HTTP server.
  • MTA Mail statistics including input and output connections
  • Network port traffic including TCP, UDP, etc.

Install Monitorix on Ubuntu 16.04

Step 1. First add the Monitorix Repository, open /etc/apt/sources.list file as shown below.

Place the cursor to the end of the file and add this line and save the file and exit from the file.

Once the repository is added, we have to download (or add) the PGP key and “install” it into the system as shown below:

Go to the directory where the .asc file is saved and run the following command:

Now, make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal:

Step 2. Installing Monitorix.

After updating the repository, run the following command to install Monitorix:

Step 3. Configure Monitorix.

To configure Monitorix, open /etc/monitorix/monitorix.conf file as shown below:

Search for the following lines:

And enable authentication by changing it to “y”.

Save the file and exit.Once configured, we have to restart the monitorix service:

Create the password for Monitorix:

Step 4. Accessing MediaWiki.

Monitorix will be available on HTTP port 8080 by default. Open your favorite browser and navigate to or http://server-ip:8080/monitorix/. If you are using a firewall, please open port 80 to enable access to the control panel.

Install Monitorix on Ubuntu 16.04

Congratulation’s! You have successfully installed Monitorix. Thanks for using this tutorial for installing Monitorix Network Monitoring Tool in Ubuntu 16.04 LTS (Xenial Xerus) systems. For additional help or useful information, we recommend you to check the official Monitorix web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!