Fork me on GitHub
Monitorix logo

欢迎来到 Monitorix 项目

轻松掌控你的服务器

Installation on a Fedora Linux

Users 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 Linux

Install 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-SSL
      
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. Anyway, please follow these recommendations:

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: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.