Fork me on GitHub
Monitorix logo
Celebrating 10 years :: 2005-2015

Welcome to The Monitorix Project

Take control over your small server

Installing Monitorix 3.6.0 on Slackware 12

Many thanks to Czezz for making the following HOWTO.
(according to him it should also work in newer Slackware versions)

By changing to respective repository version of Slackware and slackbuilds you can most likely successfully install Monitorix on other Slackware versions.

Install required Perl modules using CPAN

# cpan
cpan> install HTTP::Server::Simple::CGI
cpan> install Config::General
(optional) cpan> install Bundle::CPAN 
      

Creating setup directory

# mkdir -p /opt/monitorix_setup
# cd /opt/monitorix_setup
      

Download and install required libraries

# wget http://mirrors.slackware.com/slackware/slackware-12.0/slackware/l/libart_lgpl-2.3.19-i486-1.tgz
# wget http://mirrors.slackware.com/slackware/slackware-12.0/slackware/l/libpng-1.2.18-i486-1.tgz
# installpkg libart_lgpl-2.3.19-i486-1.tgz
# installpkg libpng-1.2.18-i486-1.tgz
      
Note: you may require to install more libraries.
When you succeed with the following steps, start Monitorix by executiing /etc/rc.d/rc.monitorix start and refer to warnings and errors in /var/log/monitorix log file.
Most likely all libraries you need are in Slackware's l directory.

Compile and install RRDtool using SlackBuilds

# cd /opt/monitorix_setup
# wget http://slackbuilds.org/slackbuilds/12.0/libraries/rrdtool.tar.gz
# tar -zxf rrdtool.tar.gz
# cd rrdtool
# wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.2.19.tar.gz
# chmod 755 rrdtool.SlackBuild
# ./rrdtool.SlackBuild
# mv /tmp/rrdtool-1.2.19-i486-1_SBo.tgz .
# installpkg rrdtool-1.2.19-i486-1_SBo.tgz
      

Compile and install Monitorix using SlackBuilds

# cd /opt/monitorix_setup
# wget http://slackbuilds.org/slackbuilds/14.1/system/monitorix.tar.gz
# tar -zxf monitorix.tar.gz
# cd monitorix
# wget http://www.monitorix.org/monitorix-3.6.0.tar.gz
# chmod 755 monitorix.SlackBuild
# ./monitorix.SlackBuild
# mv /tmp/monitorix-3.6.0-i486-1_SBo.tgz .
# installpkg monitorix-3.6.0-i486-1_SBo.tgz
      

Remove setup directory (optional)

# rm -r /opt/monitorix_setup