Install and configure Nagios monitoring in Linux

Source: Internet
Author: User
Tags mrtg

Install and configure Nagios monitoring in Linux

Nagios installation Configuration:
Nagios http://www.nagios.org
Environment setup:
CentOS6.6 192.168.11.30 serves as the server.
Centos6.6 192.168.11.100 as the client

1. Install Nagios-server (192.168.11.30)
Centos6's default yum source does not contain the nagios-related rpm package, but we can install an epel extension Source:
Yum install-y epel-release

Install nagios-related packages
Yum install-y httpd nagios-plugins-all nrpe nagios-plugins-nrpe

Set the user and password for logging on to the nagios Background:
Htpasswd-c/etc/nagios/passwd nagiosadmin

Nagios-v/etc/nagios. cfg check for configuration file errors
Start the service:
Service httpd start
Service nagios start

Browser access: http: // 192.168.11.30/nagios/
In the pop-up authentication dialog box, enter the nagiosadmin and password to log on to the nagios page;
List servers or monitoring hosts on the left side;

Services lists the eight monitored service items (system load, user, HTTP, ping, disk partition, SSH, swap partition, and system process)

-------------------------------------- Split line --------------------------------------

Configure Mrtg in Ubuntu to monitor Nginx and server system resources

Use snmp + Mrtg to monitor Linux systems

Mrtg server construction (Network Traffic Monitoring)

Network Monitor Nagios Overview

Nagios construction and Configuration

Build a Nagios monitoring platform in the Nginx Environment

Configure the basic Nagios System on RHEL5.3 (using Nagios-3.1.2)

CentOS 5.5 + Nginx + Nagios monitoring and control terminal installation and Configuration Guide

Install Nagios Core for Ubuntu 13.10 Server

-------------------------------------- Split line --------------------------------------

2. Install Nagios-client (192.168.11.100)
On the client machine
Yum install-y epel-release
Yum install-y nagios-plugins-all nrpe nagios-plugins-nrpe

Edit the configuration file:
Vim/etc/nagios/nrpe. cfg
Find "allowed_hosts = 127.0.0.1" and change "allowed_hosts = 127.0.0.1, 192.168.11.30" to the server ip address.
Change "dont_blame_nrpe = 0" to "dont_blame_nrpe = 1"
Start the client
/Etc/init. d/nrpe start

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • Next Page

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.