Monitorix installation on Elastix 2.4


Monitorix installation on Elastix 2.4

A small HOWTO install Monitorix 2.5.2 on Elastix 2.4 with Centos 5.10
Unfortunately in EPEL repository for Centos 5 there isn’t monitorix
But for fast solution without need to compile it from the source is OK.

yum install rrdtool rrdtool-perl perl-libwww-perl perl-MailTools perl-MIME-Lite perl-DBI perl-XML-Simple perl-Config-General perl-HTTP-Server-Simple perl-IO-Socket-SSL

 

rpm -ivh ftp://ftp.univie.ac.at/systems/linux/dag/redhat/el5/en/i386/dag/RPMS/monitorix-2.5.2-1.el5.rf.noarch.rpm

( or use any other mirror from here http://rpm.pbone.net/index.php3/stat/4/ … h.rpm.html )

mkdir /var/www/monitorix-cgi
cp /usr/share/monitorix/cgi-bin/monitorix.cgi /var/www/monitorix-cgi

Edit in the file /etc/httpd/conf.d/monitorix.conf
replace a line
<Directory /usr/share/monitorix/cgi-bin/>

with this
<Directory /var/www/monitorix-cgi/>

service  httpd  restart
service monitorix restart

Login to http://elastix-ip/monitorix

If i can do a comment for the folder cgi. A folder already exist here /var/www/cgi-bin/. To be clean, maybe change the target of directory here /var/www/cgi-bin/monitorix-cgi/

Source for this articular

 

http://forum.elastix.org/viewtopic.php?f=27&t=129168

Leave a comment