Quick Install Ngios

Source: Internet
Author: User

If using the source package to install Nagios is troublesome, so find a better way to install Nagios,

The environment is the CentOS 6.4 version, 64-bit:


First of all, is to install the network Yum Source, here is not much to say ();


Second, download the Epel source from the network; Install Nagios

wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

This is the RPM package, so we need to decompress this RPM package;

RPM-VIH epel-release-6-8.noarch.rpm

So our Epel source has been installed, then we need to install a tool to search Nagios with Yum;

Yum Search Nagios

Then we find all of Nagios's plugins; Nagios-plugins-all.x86_64:nagios Plugins-all plugins

We will need to install all of Nagios's plugins through Yum;

Yum-y Install Nagios-plugins-all

Then we have to install Nagios through Yum;

Yum-y Install Nagios
So we've got Nagios installed.


Again, we're going to check nagios.

Check for Nagios packages with Rpm-qa |grep Nagiso

The Nagios process is then checked for startup by Ps-aux|grep Nagios.

If not, start the Nagios service by/etc/init.d/nagios restart.

It is best to close iptables and SELinux.


Again, we access the http://192.168.XXX.XXX/nagios/via the browser if the Nagios interface shows that Nagios installation was successful, Nagios's default username: nagiosadmin, password: nagiosadmin on login To indicate that Nagios has been installed; The above is the personal installation experience, there are some shortcomings, only to provide reference.



Report:

The following is a simple installation of Nagios main steps, if the Yum network is copied directly:

wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

RPM-VIH epel-release-6-8.noarch.rpm

Yum Search Nagios

Yum-y Install Nagios-plugins-all

Yum-y Install Nagios

/etc/init.d/nagios restart






This article from the "MySQL master-slave copy" blog, declined reprint!

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.