In this tutorial we’ll learn how to install Monitorix on CentOS 7. We will also install and configure its prerequisites. Monitorix is an open source tool used to monitor system and services of Linux operating system. Monitorix was developed for UNIX/LINUX servers, but due to its simplicity and small size it can be used in embedded devices as well.
I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.
Install Monitorix on CentOS 7
Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:
yum clean all yum install epel-release -y yum update -y
Step 2. Installing all prerequisites for Monitorix.
Before you can install the RPM package you will need to install the dependencies required:
yum install rrdtool rrdtool-perl perl-libwww-perl perl-MailTools perl-MIME-Lite perl-CGI perl-DBI -y
Step 3. Installing Monitorix.
Install Monitorix using following command:
yum install monitorix -y
To check the version of the software, run the following command:
[firstname.lastname@example.org ~]# monitorix -v Monitorix version 4.0 (14-Feb-2018)
Enable, Start and check status of the Monitorix:
systemctl enable monitorix systemctl start monitorix systemctl status monitorix
Congratulation’s! You have successfully install and configured Monitorix on your CentOS 7 server. Thanks for using this tutorial for installing Monitorix open source tool monitor system on CentOS 7 system.