Nagios Installation and Configuration

Source: Internet
Author: User

Nagios Monitoring Host

Basic Environment Preparation

1. Install httpd,mod_perl,php through Yum

2. Account Preparation

Useradd Nagios

Groupadd Nagcmd

Usermod-g Nagcmd Nagios

Usermod-g Nagcmd Apache

:

Nagios Core Download

Http://www.nagios.org/download/core/

Nagios Plugin

Http://www.nagios.org/download/plugins

Monitored machines

Nrpe Machine Preparation

/usr/sbin/useradd Nagios

Increase SSL Dependency

Yum-y Install Openssl-devel

Installing Nrpe

http://sourceforge.net/projects/nagios/files/nrpe-2.x/

wget http://sourceforge.net/projects/nagios/files/nrpe-2.x/nrpe-2.15/nrpe-2.15.tar.gz/download

Installing Nagios Plugin

Http://www.nagios.org/download/plugins

wget http://nagios-plugins.org/download/nagios-plugins-2.0.3.tar.gz

Using Check_linux_stat to monitor hardware performance requires additional installation of Sys-statistics-linux modules

http://search.cpan.org/dist/Sys-Statistics-Linux/

wget http://search.cpan.org/CPAN/authors/id/B/BL/BLOONIX/Sys-Statistics-Linux-0.66.tar.gz

Tar zxvf sys-statistics-linux-0.66.tar.gz

CD sys-statistics-linux-0.66

Perl makefile.pl

Make && make test && make install

After installation is complete

Nagios Installation and Configuration

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.