Installation on a Fedora LinuxUsers of newer Fedora versions are able to install Monitorix using directly the official repositories. Therefore a simple command like the following should suffice:
# yum install monitorix
Installation on a RedHat/CentOS LinuxInstall first the required packages.
# yum install rrdtool rrdtool-perl perl-libwww-perl perl-MailTools perl-MIME-Lite perl-CGI perl-DBI perl-XML-Simple perl-Config-General perl-HTTP-Server-Simple perl-IO-Socket-SSLIf
yumfails installing one or more of these packages, then you could try to get them manually from these two additional repositories:
- Keep your systems clean from third party repositories.
- Check both repositories to make sure you are downloading the most up to date version of each package.
- Download and install each package satisfying manually all its dependencies.
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.confto set the options according your system and enable or disable graphs.
Finally start Monitorix with:
# service monitorix startAt this point, Monitorix will start gathering the system information based on the configuration set in
monitorix.conffile, and after some minutes you should be able to see the results from your favorite browser pointing it at:
Notes after installationIf your system has SELinux enabled it is possible your Monitorix graphs won't be visible and you get lot of messages in
/var/log/messagesabout access denied to the RRD database files.
Take the proper actions to remedy this situation.