CentOS 6.4 Installation of Nagios server

Source: Internet
Author: User

1. Install Apache, gcc, glibc, Nagios, Nagios-plugins. The basic is to install the installation document paste copy.

Http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html

2. Install and configure the Nrpe on the monitored machine.

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

Official Installation Configuration Documentation:

Http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

3. Add the monitored machine on the Nagios server.

A. Add the Host/service configuration file.

# Touch Hosts.cfg
# Touch Services.cfg

# vi/usr/local/nagios/etc/nagios.cfg
Cfg_file=/usr/local/nagios/etc/objects/hosts.cfg
Cfg_file=/usr/local/nagios/etc/objects/services.cfg

Add Server3 to Hosts.cfg.



Add ping and disk monitoring to the services.cfg.

Check configuration and restart Nagios service

#/usr/local/nagios/bin/nagios-v/usr/local/nagios/etc/nagios.cfg
#/etc/init.d/nagios Restart

View the monitoring information for your settings.

CentOS 6.4 Installation of Nagios server

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.