Monitorix monitors your Linux host

Source: Internet
Author: User

Note: The article is a little old and is for reference only!

Recently, I installed the Monitorix tool on my managed Linux host. This is a set of tools that can monitor the system status. There are many projects that can be monitored. You can also set the services to be monitored by yourself, by default, you can analyze the CPU and memory Usage, Disk I/O usage, Network traffic and Usage, and network services demand), user login status ,.... and so on. It also provides very detailed Web reports. The following is a report for one of my hosts.

Although the installation instructions for Ubuntu Linux 7.10/8.04 were provided on the official website at that time, some steps were not the same when I installed Ubuntu Linux 8.04. The following are the installation notes:

Install related suites (remember to install Apache or you cannot view reports)

apt-get install apache2 rrdtool and librrds-perl procmail

Download the latest Monitorix kit (Click here to find the download link)

wget http://www.monitorix.org/monitorix-1.2.2.tar.gz

Extract

tar zxvf monitorix-1.2.2.tar.gzcd monitorix-1.2.2vi install.sh 

Modify lines 63rd to 69 of the install. sh Installer

Set

SBIN="/usr/local/sbin"ETC="/usr/local/etc"INIT="/usr/local/etc/rc.d"LIB="/usr/local/lib"DOC="/usr/local/share"HTDOCS="/usr/local/www/data"CGIBIN="/usr/local/www/cgi-bin"

Change

SBIN="/usr/sbin"ETC="/etc"INIT="/etc/init.d"LIB="/usr/local/lib"DOC="/usr/local/share"HTDOCS="/var/www"CGIBIN="/usr/lib/cgi-bin"

Formal Installation

# ./install.shWelcome to Monitorix v1.2.1 installation process.This install script has detected that this is a Linux operating system.Currently Monitorix supports only the following Linux distributions:        1 - RedHat/Fedora/CentOS        2 - Generic        3 - Debian        4 - Gentoo        5 - Slackware        Please select your option: 2The following is a list of the default paths where to install the Monitorixcomponents:        1 - /usr/sbin        2 - /etc        3 - /etc/init.d        4 - /usr/local/lib        5 - /usr/local/share        6 - /var/www        7 - /usr/lib/cgi-bin        Please type ENTER if all it's correct:Last chance to stop the installation.Are you sure to install Monitorix on the paths shown? [y/n]: y

Create a directory that is missing

mkdir -p /var/lib/monitorix

Fixed the issue of vi/etc/monitorix. conf (line 1)

Set

our %BASE_WWW = ("Linux-RHFC"   => "/var/www/html",

Change

our %BASE_WWW = ("Linux-RHFC"   => "/var/www",

Start the Monitorix Service

/etc/init.d/monitorix.sh start

Add the execution flag to the program for changing the schedule

chmod +x /etc/cron.d/monitorix

Installation complete!

Official link http://www.monitorix.org/doc-debian.html

Monitorix details: click here
Monitorix: click here

Update address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.