Fork me on GitHub
Monitorix logo

欢迎来到 Monitorix 项目

轻松掌控你的服务器

Installation on a Debian/Ubuntu Linux

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:

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:

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 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 Rodriguez Gonzalez made a Spanish tutorial of how to install Monitorix on a Debian 6.