Teach you to build and configure Nagios in Ubuntu 11.10

Source: Internet
Author: User

As we all know, Nagios is a monitoring system that monitors the state of the system and network information. Nagios can monitor the specified local or remote host and service, as well as provide exception notification capabilities. Nagios can be run on the Linux/unix platform, while providing an optional browser-based Web interface for system administrators to view network status, various system issues, and logs, and so on.

Main functional features of Nagios:

-Monitor network services (SMTP, POP3, HTTP, NNTP, ping, etc.)

-Monitor host resources (processes, disks, etc.)

-Simple plug-in design can easily extend the Nagios monitoring capabilities

-Concurrent processing of services such as monitoring

-Error notification function (via email, pager, or other user-defined method)

-You can specify a custom event-handling controller

-Optional Browser-based Web interface for system administrators to view network status, various system issues, logs, etc.

-can view system monitoring information via mobile phone

Today we will mainly introduce how to install the installation Nagios under the Unbuntu, specifically see below:

Install Ubuntu 11.10 Desktop 32bit

Install Apache2, php5, OpenSSL, Libssl-dev, GCC compilers and development libraries, GD development libraries, PHP, Php-apache, PHP-related plug-ins

You can use the Apt-get command to install these packages and type commands:

sudo apt-get install apache2

sudo apt-get install build-essential

sudo apt-get install Libgd2-xpm-dev

sudo apt-get install OpenSSL

sudo apt-get install Libssl-dev

sudo apt-get install php5

sudo apt-get install libapache2-mod-php5 (this may have been installed at the time of installation of PHP5 if installation is not required)

sudo apt-get install Libjpeg8

sudo apt-get install Libjpeg8-dev

sudo apt-get Install Curl

sudo apt-get install Libcurl3

sudo apt-get install libpng12-0

sudo apt-get install Libpng12-dev

sudo apt-get install Freetype2-demos

sudo apt-get install Libfreetype6

sudo apt-get install LIBXML2

sudo apt-get install Libxml2-dev

Configure Apache

If the Vim editor is not installed by default, VIM will be installed first, because the default VI editor is quite disgusting in Ubuntu

sudo apt-get install vim

sudo vim/etc/apache2/apache2.conf

Press SHIFT-G, which is G, to the end of the article, add the following configuration

AddType application/x-httpd-php. php. htm. html

Adddefaultcharset UTF-8

DirectoryIndex index.php index.html index.html

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.