Google Plus

Howto- Install Monitorix in Ubuntu, Fedora and Centos

Written by Mel Kham on . Posted in CentOS, Linux distributions, Linux Mint, opensource, Ubuntu

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 UNIX/Linux servers, but due to its simplicity and small size you may also use it on embedded devices as well.

It mainly consists 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.

All of its development was initially created for monitoring Red Hat, Fedora and CentOS Linux systems, so this project was made keeping in mind these type of distributions. Today it runs on different GNU/Linux distributions and even in other UNIX systems, like FreeBSD and OpenBSD.

More info about Monitorix can be found in this Link

1- Installation

Install in Monitorix in Ubuntu

First we need to install some dependencies, open terminal and enter the following command:

sudo apt-get install apache2-mpm-itk apache2-utils apache2.2-bin apache2.2-common libaprutil1-dbd-sqlite3 libaprutil1-ldap libdbi-perl rrdtool librrds-perl libwww-perl libemail-date-format-perl libmime-lite-perl libmime-types-perl libnet-daemon-perl libplrpc-perl nullmailer

Now, download the  last release from Download  page (.deb package) and install it using the command:

sudo  dpkg -i  monitorix_2.5.0-izzy1_all.deb

Now start Monitorix and apache:

sudo /etc/init.d/monitorix start
sudo  /etc/init.d/apache2 restart

Now Brows to http://ip/monitorix to open Monitorix

Install in Centos/Fedora

on terminal en under  root run ;

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

Download  and  install the  rpm package

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

start apache  and Monitorix

service monitorix start
service  httpd  restart

open your  browser and go to   http://ip/monitorix

2- Configuration:

Configuration file is  : /etc/monitorix.conf

Apache config:

onder Ubuntu/Mint   :  /etc/apache2/conf.d

onder Fedora/Centos   /etc/httpd/conf.d

To  allow connect to Monitorix  from any where,  change  the  config  apache  to Allow from all

For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.
  • Patrick

    Thanks for the article, I did however notice a couple of things in your instructions for installing in Centos. I had to install Perl-DBI in addition to those you specified and you have a typo in the command to start Monitorix:

    $ service monitorix startand not
    $ service monitorx start

  • AliusPanfilovas

    Page not found…

  • Ray Qadri

    ALL: I am getting following errror when trying to start service minitorix.

    service monitorix start
    Starting monitorix: Can’t locate RRDs.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/bin/monitorix line 27.
    BEGIN failed–compilation aborted at /usr/bin/monitorix line 27.

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

SK

|

Yes we can. What kind of help you need? We are doing outsourcing and technical support for Linux and Open source worldwide. To know more about the details visit here.

ClintB

|

After install as above, run shell script /opt/Citrix/ICAClient/wfica.sh manually and note lib errors still occur. I had the x64 motif loaded but had to manually install the x86 too. Got that from http://rpmfind.net/linux/rpm2html/search.php?query=libXm.so.4 Even after that, I still had to do a “yum install alsa-lib.i686 alsa-lib.x86_64″ to resolve any additional libasound.so.2 errors. Once those two lib issues were resolved, Citix Web Interface launched apps fine by telling browser to open launch.ica using /opt/Citrix/ICAClient/wfica.sh. Good luck Ernesto!

AD

|

I need some Help on Linux,can you guide me ?

Edson Carlos

|

In debian no found. I need link download install in linux debian

jacky can

|

You can actually unzip your secret archive by leaving out the -t option, instead using:

unzip newPhoto.jpg

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .