Nagios-NRPE Documentation(译文)

发布时间:2020-07-08 20:59:02 作者:年年歳歲
来源:网络 阅读:370

 

1. INTRODUCTION(介绍)

 

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插件包括两个部分:)

 

 

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

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

               (将检测的结果从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参考文档的关于该技术的简要介绍,后续的安装和使用方法都还没有,如果有时间,会尽自己所能的翻译一下。

推荐阅读:
  1. Cacti+Nagios监控平台如何整合
  2. 关于nagios的一篇很不错的文章

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

nagios nrpe rp

上一篇:通用删除查询语句存储过程

下一篇:Django Session通用配置

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》