Install Monitorix


Installation on a RedHat/Fedora/CentOS Linux

Install first the required packages.

# yum install httpd rrdtool rrdtool-perl perl-libwww-perl perl-MailTools perl-MIME-Lite perl-CGI

If yum fails installing one or more of these packages, then you could try to get them manually from these two additional repositories:

Both repositories are considered by many in the community to be stable and safe.

Download and install the Monitorix package.

# rpm -ivh http://www.monitorix.org/monitorix-n.n.n-1.noarch.rpm (where n.n.n is the latest version)

Once succesfully installed, please take a look into the configuration file /etc/monitorix.conf to set the options according your system and enable or disable graphs.

Finally start Monitorix with:

# service monitorix start

At this point, Monitorix will start gathering the system information based on the configuration set in monitorix.conf file, and after some minutes you should be able to see the results from your favorite browser pointing it at:

http://localhost/monitorix/

Don’t forget to (re)start the Apache web server!

Notes after installation

If your system has SELinux enabled it is possible your Monitorix graphs won’t be visible and you get lot of messages in /var/log/audit/audit.log and/or in/var/log/messages about access denied to the RRD database files.

Take the proper actions to remedy this situation.