Monitorix Linux monitoring tool

Monitorix is a free, open source, lightweight system monitoring tool designed to monitor as many services and system resources as possible. It has been created to be used under production Linux/UNIX servers.

It consists mainly of two programs: a collector, called monitorix, which is a Perl daemon that is started automatically like any other system service, and a CGI script called monitorix.cgi. Since 3.0 version Monitorix includes its own HTTP server built in, so you don’t need to install any web server to use it.

Every time ‘monitorix’ is started it reads the configuration file from the path specified in the command line (using the -c option), and once checked, it creates the ‘index.html’ file that will act as the Monitorix main page.

Features

System load average and usage
Global kernel usage
Per-processor kernel usage
HP ProLiant System Health
LM-Sensors and GPU temperatures
NVIDIA temperatures and usage
Disk drive temperatures and health
Filesystem usage and I/O activity
Network traffic and usage
Mail statistics
Network port traffic
Users using the system
FTP statistics
Apache statistics
Lighttpd statistics
MySQL statistics
Squid Proxy Web Cache statistics
Alert capabilities supported
Memcached statistics
Wowza Media Server
Supported systems: GNU/Linux, FreeBSD, OpenBSD and NetBSD.

 

monitorix load       monitorix service

Monitorix Linux monitoring tool installation.

Monitorix requires some others packages to be installed that your GNU/Linux distribution may or may not have:

Perl
Perl-CGI
Perl-MailTools
Perl-MIME-Lite
Perl-libwww
Perl-DBI
Perl-XML-Simple
Perl-Config-General
Perl-HTTP-Server-Simple
RRDtool and its Perl bindings (perl-rrdtool or rrdtool-perl)
(Optional) a CGI capable Web server (Apache, Nginx, lighttpd, etc.)

Disable SELinux

vi /etc/selinux/config

SELINUX=disabled

Install 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

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

or Download CentOS RPM packages and install the Monitorix.

wget http://www.monitorix.org/monitorix-3.4.0-1.noarch.rpm
rpm -ivh monitorix-3.4.0-1.noarch.rpm

or you can install through the source file

http://www.monitorix.org/monitorix-3.4.0.tar.gz

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

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://<ipaddress>:8080/monitorix/