Hello Linux Geeksters. As you may know, Monitorix is an open-source, lightweight system monitoring tool used on both Linux and Unix systems. It is used for monitoring CPU usage, memory usage, disk usage, network usage, number of threads and number of voluntary and involuntaru context switches.
The software itself consists in two programs: the monitorix Perl daemon which is started automatically and the CGI script. Stating with version 3.0, Monitorix includes a built in HTTP server, so that third party plugins are not needed anymore.
The latest version available is Monitorix 3.7.0, which has been released recently, coming with the below changes:
- Added a complete statistical VerliHub (verlihub) graph
- Added a complete graph for Varnish proxy cache
- Improved ‘port’ option documentation of the Nginx graph in the man page of monitorix.conf
- Improved ” option documentation of the FS graph in the man page of monitorix.conf
- Improved the way how are detected the process names in Process.pm module. Now the output of the ‘command’ parameter in the ‘ps’ command is used to match the process names
- Zoomed graphs now honour the ‘global_zoom’ option, and also use the function RRDs::graphv to fit better in the browser pop up window. This is a feature only visible with RRDtool v1.3 or more
- Added an advice in ‘htpasswd.pl’ and ‘monitorix.conf(5)’ to not use the character colon ‘:’ as part of the name or password since this character is used as field separator
- Added support for IPv6 in ‘ports’ graph using protocols ‘tcp6′ and ‘upd6′. Note that ‘ip6tables’ command line is needed
- Port graph now uses the wait lock option (‘–wait’) in newer ‘iptables’ versions
- Added Dutch translation to monthly reports
- Removed the option ‘all’ as network protocol in the ‘port’ graph
- Fixed some bugs in the new Makefile
- Fixed more messages of use of uninitialized values at fs.pm in lines 765 and 766. This mainly happens in OpenVZ VPS where ‘/proc/diskstats’ file does not exist
- Fixed the example of ” block in the monitorix.conf(5) man page to avoid confusion. The values set there must be the same ones that in the ‘/proc/diskstats’ file.
- Fixed kernel version detection in FreeBSD 10.x which affected the Network graph
- Fixed missing HTML tag terminations in several modules
- Fixed the color in the footer URLs in Multihost mode
- Fixed a ‘403 Forbidden’ message in Apache generated by a misconfiguration in ‘monitorix-apache.conf’
- Fixed a bug in ‘netstat’ module that prevented, in some cases, counting correctly the opened connections either in IPv4 and IPv6
- Fixed a missing CDEF that prevented creating the ‘process05z.png’ graph when the option ‘show_gaps’ was enabled
- Fixed a bug in ‘squid.pm’ module that prevented from seeing values in the network protocols usage graph
- Fixes a character shifted to the left in certain ‘hplog’ outputs
- Fixed the ‘process’ graph in Multihost mode
- Fixed the ‘Makefile’ to install ‘docs/debian.conf’ as ‘conf.d/00-debian.conf’
- Fixed to remove red background color in ‘port’ graph when the network port is for outgoing connections
- Fixed a typo in the y axis title on ‘apcupsd’ Time left graph
- Fixed to increase the timeout in ‘emailreports’ from 30 to 120 seconds
- Small cosmetic changes
In this article I will you how to install Monitorix 3.7.0 on Ubuntu 15.04 Vivid Vervet, Ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr, Ubuntu 12.04 Precise Pangolin, Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Linux Mint 13 Maya, Pinguy OS 14.04, Elementary OS 0.3 Freya, Elementary OS 0.2 Luna, Peppermint Five, Deepin 2014, LXLE 14.04, Linux Lite 2, Debian 8 Jessie, Debian 7 Wheezy and other Ubuntu and Debian derivative systems.
Because it is not available via any repository, we have to download the deb package and install it via command-line. I prefer gdebi over dpkg, due to the fact that it also handles dependencies.
How to install Monitorix 3.7.0 on either 32 bit and 64 bit Ubuntu, Debian and derivatives:
$ sudo apt-get install gdebi
$ wget http://www.monitorix.org/monitorix_3.7.0-izzy1_all.deb
$ sudo gdebi monitorix_3.7.0-izzy1_all.deb
To access monitorix, open your internet browser and go to: http://localhost:8080/monitorix/
Optional, to remove monitorix, do:
$ sudo apt-get remove monitorix