189 8069 5689

Nagios-NRPEDocumentation(译文)-创新互联

1. INTRODUCTION(介绍)

清水网站制作公司哪家好,找创新互联!从网页设计、网站建设、微信开发、APP开发、响应式网站设计等网站项目制作,到程序开发,运营维护。创新互联2013年至今到现在10年的时间,我们拥有了丰富的建站经验和运维经验,来保证我们的工作的顺利进行。专注于网站建设就选创新互联。

a) Purpose(目的)

The NRPE addon(插件) is designed to allow you to execute(履行,执行) Nagios plugins on remote Linux/Unix machines.

(NRPE插件设计的目的是允许你来运行存在于远程linux/Unix主机上的Nagios plugins)

The main reason for doing this is to allow Nagios to monitor "local" resources (like CPU load, memory usage, etc.) on remote machines.

(最主要的原因是为了允许Nagios去监控远程主机的“本地”资源(像CPU负载,内存使用情况,等等))

 Since(由于)these public resources are not usually exposed to external machines, an agent like NRPE must be installed on the remote Linux/Unix machines.

(由于这些公共的资源不是经常地被显露在外部的机器上,因此像NRPE这样一个代理必须安装在远程的linux/Unix机器上)

Note(提示): It is possible to execute(执行) Nagios plugins on remote Linux/Unix machines through SSH. 通过SSH来执行远程主机的Nagios plugins是可能的

There is a check_by_ssh plugin that allows you to do this.

有一个叫做“check_by_ssh”的插件会帮助你来实现。

Using SSH is more secure than the NRPE addon, but it also imposes a larger (CPU) overhead on both the monitoring and remote machines. (使用SSH比NRPE插件更安全,但是它也同时会把更大的开支强加于监控端和远程主机.) This can become an issue when you start monitoring hundreds or thousands of machines. (当你开始监控成百上千台主机时,这将会是一个重大的问题) Many Nagios admins(administrators缩写) opt for using the NRPE addon because of the lower load it imposes.(许多Nagios管理员选择使用NRPE插件就是因为它的加于主机的负担低的优点)

b) Design Overview(设计概官)

 Nagios-NRPE Documentation(译文)

The NRPE addon consists of two pieces:

        (NRPE插件包括两个部分:)

  • The check_nrpe plugin, which resides on the local monitoring machine

    (check_nrpe这个插件,存在于本地监控主机)

  • The NRPE daemon, which runs on the remote Linux/Unix machine

    (NRPE守护进程,运行在远程linux/Unix主机上)

When Nagios needs to monitor a resource of service from a remote Linux/Unix machine:

        (当Nagios需要监控远程主机的一个服务的资源时:)

  • Nagios will execute the check_nrpe plugin and tell it what service needs to be checked

    (Nagios将利用check_nrpe插件执行相应的命令)

  • The check_nrpe plugin contacts the NRPE daemon on the remote host over an (optionally) SSL-protected connection

    (check_nrpe通过被保护的ssl连接远程主机的NRPE守护进程)

  • The NRPE daemon runs the appropriate Nagios plugin to check the service or resource

    (NRPE进程运行适当的Nagios插件去检测服务和资源)

  • The results from the service check are passed from the NRPE daemon back to the check_nrpe plugin, which then returns the check results to the Nagios process.

               (将检测的结果从NRPE进程交给check_nrpe插件,插件将收到的检测结果返回给Nagios进程)

Note: The NRPE daemon requires that Nagios plugins be installed on the remote Linux/Unix host. Without these, the daemon wouldn't be able to monitor anything.

提示:NRPE进程需要在Nagios plugins这个插件库被安装在远程主机上。如果没有这些的话,这个守护进程将无法监控到任何东西

2. EXAMPLE USES

        a) Direct Checks(直接检查)

The most straight forward use of the NRPE addon is to monitor "local" or "private" resources on a remote Linux/Unix Machine.

NRPE插件最直截了当的使用方法是监控一台远程linux/Unix主机的“本地”和“私有”资源

This includes things like CPU load, memory usage, swap usage, current users, disk usage, process states, etc.

 这些资源包括像CPU负载,内存、swap使用情况,当前的用户数量,磁盘使用状况和进程状态,等等

Nagios-NRPE Documentation(译文)

        b) Indirect Checks(间接检查)

You can also use the NRPE addon to indirectly check "public" services and resources of remote servers that might not be reachable directly from the monitoring host.

(你也可以使用NRPE插件来间接检测远程服务器的公共服务和资源,而这些资源监控主机可能无法直接可以获取)

For instance, if the remote host that the NRPE daemon and plugins are installed on can talk to the a remote web server (but the monitoring host cannot), you can configure the NRPE daemon to allow you to monitor the remote web server indirectly.

(例如,如果一台已经安装过NRPE进程和plugins的远程主机可以和另一台远程web服务器进行通信,而主控端却不能,你可以通过配置NCRE进程来实现间接监控远程web服务器的目的)

The NRPE daemon is essentially acting as proxy in this case.

(此刻,NCRE进程本质上在这里是正在扮演一个代理的角色)

Nagios-NRPE Documentation(译文)

===================================================

致:

        学习监控的同时,发现关于Nagios的帮助文档写的太好了,于是就忍不住想要尝试翻译一下,这只是NRPE参考文档的关于该技术的简要介绍,后续的安装和使用方法都还没有,如果有时间,会尽自己所能的翻译一下。

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


网页题目:Nagios-NRPEDocumentation(译文)-创新互联
标题URL:http://cdxtjz.com/article/decdii.html

其他资讯