Installation and configuration of Nagios monitoring system under Centos 5 system

Source: Internet
Author: User
Tags unpack centos

Our network and servers should be carefully looked after, otherwise you will have a lot of trouble or find a tool to help us manage these people care about the machine----Nagios

Here a simple configuration of the monitoring host, in-depth configuration needs a lot of learning, online information a lot

The following simple write out my own configuration, maybe there is a wrong place, please point out, thank you, your see

1. Create Nagios Users

AddUser Nagios

Mkdir/usr/local/nagios

Chown Nagios.nagios/usr/local/nagios

3. Unpack and download the installation package

Tar xzvf nagios-version.tar.gz

2, compile

Go to unpack directory execution

./configure--prefix=/usr/local/nagios

--with-nagios-user=nagios

--with-nagios-group=nagios

--with-command-group= Nagios

Make all

Make install

Make Install-config

Make Install-init

Nagios Installation Complete

3, to create access to Nagios Authenticated users

/usr/bin/htpasswd-c/usr/local/nagios/etc/htpasswd Andy

Follow the prompts to set the password.

Apache is already installed to the directory/usr/local/apache/.

Related Article

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.