Monitorix

By AKM
May 06, 2016
Monitorix is an open source system monitoring software. You can view system health and performance metrics on a web interface that it provides. Here are the steps to install and configure it.
Step 1: Add repo
add a line to your /etc/apt/sources.list:
deb http://apt.izzysoft.de/ubuntu generic universe
Step 2. Add key
$ wget http://apt.izzysoft.de/izzysoft.asc
$ sudo  apt-key add izzysoft.asc
Step 3: Install
$ sudo apt-get update
$ sudo apt-get install monitorix
Step 4: Config
Modify /etc/monitorix/monitorix.conf
set servername
enable what's required
httpd_builtin - set enabled to y and set up host and password file
 
Step 5: Set password
Download htpasswd.pl from https://github.com/mikaku/Monitorix/blob/master/docs/htpasswd.pl
$ htpasswd.pl (Enter password, get its encrypted form)
Add to /var/lib/monitorix/htpasswd as:
<username>:<enc password>
# Username: <your-preferred-1-word-username>
# Password: <your-preferred-password>
 
Step 6: MySQL stats
mysql> CREATE USER 'monitorix'@'localhost' IDENTIFIED BY 'monitorix';
mysql> FLUSH PRIVILEGES;
Add user and password to /etc/monitorix/monitorix.conf
 
Step 7: Restart
$ sudo service monitorix restart
$ sudo apache2ctl graceful
Step 8: Access
http://<your-server>:8080/monitorix
  
/ / / /