Installation on a Debian/Ubuntu Linux
For Debian Buster and newer releases
For users using Buster or a newer releases better use directly the command sudo apt install monitorix
.
For Debian releases older than Buster
Many thanks to Andreas Itzchak Rehberg for sending me the following HOWTO:
Installation on Debian based systems is preferably done using the provided .deb
packages. While you could download the latest package from here and install it manually, Monitorix is also available via an Apt repository from IzzySoft which is easily integrated with your system (see instructions) within not more than 2 minutes, and offers you a few added features:
- Automatically resolves dependencies.
- Automatically offers updates when available.
We will describe both variants here.
Commands have to be run as root. So either become root before, or prefix each of them with sudo (e.g. sudo apt-get update
).
Obtaining the package
Obtain the package and install it:
- Via the repository
# apt-get update # apt-get install monitorix
- Manually, downloading first the package and taking care for dependencies, and finally installing it.
# apt-get update # apt-get install rrdtool perl libwww-perl libmailtools-perl libmime-lite-perl librrds-perl libdbi-perl libxml-simple-perl libhttp-server-simple-perl libconfig-general-perl libio-socket-ssl-perl # dpkg -i monitorix*.deb # apt-get -f install
Configuring Monitorix
Monitorix ships with a default configuration file which works out-of-the-box. Moreover, the service is automatically started on package installation.
To fine-tune your installation, take a look at the /etc/monitorix/monitorix.conf
file (and optionally the documentation) to adjust some things (like network interfaces, filesystems, disks, etc.).
The Debian package also comes with an extra configuration file in /etc/monitorix/conf.d/00-debian.conf
that includes some options specially adapted for Debian systems. This file will be loaded right after the main configuration file, hence some options in the main configuration will be overwritten by this extra file.
When you are done, restart Monitorix to let your changes take effect:
# service monitorix restart
Enjoy!
Point your browser to http://localhost:8080/monitorix/ and enjoy!
Guille RodrÃguez Gonzalez made a Spanish tutorial of how to install Monitorix on a Debian 6.