Monitorix

From Indie IT Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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, but due to its simplicity and small size can be used on embedded devices as well.

HOWTO: INSTALL:

Debian / Ubuntu

sudo apt install -y rrdtool perl libwww-perl libmailtools-perl libmime-lite-perl librrds-perl hddtemp
cd /tmp/
wget http://www.monitorix.org/monitorix_3.9.0-izzy1_all.deb
sudo dpkg -i monitorix*.deb
sudo apt-get -f install
sudo service apache2 reload
sudo service monitorix restart

Thanks to Monitorix

Red Hat / Centos

su - root
yum install -y monitorix

HOWTO: CONFIGURE:

Documentation

Config File Location(s)

sudo nano /etc/monitorix/monitorix.conf

Ubuntu & Debian also have a secondary configuration file:

sudo nano /etc/monitorix/conf.d/00-debian.conf

Post configuration or either .conf file you will need to restart Monitorix:

sudo service monitorix restart

Enable/Disable Graphs

Locate the section shown below:

# Graphs (de)activation
# -----------------------------------------------------------------------------
<graph_enable>
       disk            = y
       system          = y
       kern            = y
       proc            = y
       zfs             = y

To enable/disable alter as required:

HOWTO: FIX:

Forbidden: You don't have permission to access /monitorix-cgi/monitorix.cgi on this server.

sudo nano /etc/apache2/conf.d/monitorix.conf
sudo service apache2 reload
sudo nano /etc/monitorix.conf
sudo service apache2 restart
sudo service monitorix restart
cd /usr/share/monitorix/
sudo chown -R www-data:www-data imgs/

Thanks to Monitorix FAQ.

HOWTO: VIEW:

http://your.domain.com/monitorix

http://your.ip.address:8080/monitorix/