Installation on Red Hat, Fedora and derivatives
Fedora
Users on Fedora systems are able to install Monitorix using directly the official repositories. Therefore a simple command like the following should suffice:
# yum install monitorix
Red Hat/Rocky Linux
Install first the EPEL repository and then install Monitorix using yum
:
# yum install epel-release # yum install monitorix rrdtool-perl perl-Config-General perl-LWP-Protocol-https perl-LWP-UserAgent-Determined perl-XML-LibXML perl-HTTP-Server-Simple
Obsolete (EOL) Red Hat/CentOS Linux
If you are still using EOL versions of Red Hat or CentOS systems (EL5 or EL6), then you might want to download the RPMs directly from the downloads page. You probably will have to satisfy the dependences manually, or tune your system repositories to point to the upstream archived repositories.
After installation
Once succesfully installed, take a look into the configuration file /etc/monitorix/monitorix.conf
and create your own new configuration file to set the options according your system and enable or disable graphs. Please, read this FAQ to know how to configure Monitorix properly.
Finally start Monitorix with:
# service monitorix start
At this point, Monitorix will start gathering the system information based on its configuration and after some minutes, you should be able to see the results from your favorite browser pointing it at:
http://localhost:8080/monitorix/
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.