Install the nagios Client Program (1)

Source: Internet
Author: User

Let's take a lookNagiosClient ProgramInstallSituation:

 

Figure-nagios

The nrpe program is required to monitor the local information of the client.

The principle of NRPE is as follows:

NRPE consists of two parts:

-Check_nrpe plug-in, located on the monitoring host

-NRPE daemon: runs on a remote linux host (usually monitored)

The entire monitoring process is as follows:

When nagios needs to monitor the services or resources of a remote linux host

1. nagios will run the check_nrpe plug-in to tell it what to check.

2. The check_nrpe plug-in will connect to the remote NRPE daemon, using SSL ..

3. NRPE daemon runs the corresponding nagios plug-in to perform the check.

4. NRPE daemon returns the check result to the check_nrpe plug-in. The plug-in submits it to nagios for processing.

Note: NRPE daemon requires the nagios plug-in to be installed on a remote linux host. Otherwise, daemon cannot perform any monitoring.

There are two types of NRPE Detection:

1) Direct Detection: The detected object is the local resource of the linux host running NRPE. The principle is as follows:

2 ). indirect Detection: when the monitoring host running nagios cannot access a monitored host, but the host running NRPE can access it, NRPE can act as a proxy, send monitoring requests to the monitored host copyright statement: all the articles on this site are from the Internet, and all the comments reposted on this site do not represent the views of this site

It must be noted that the monitored machine is usually in the same network as the monitored machine, so this situation is rare. next I will talk about direct detection. therefore, we install the corresponding software on the monitored host (nagios-server) and monitored host (dbpi, that is, the remote linux host running NRPE in the figure) according to the figure below.


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.