简体   繁体   English

Nagios监控报告中的细微差异

[英]Slight variation in Nagios monitoring report

I am not sure if this is an issue or I am missing something. 我不确定这是一个问题还是缺少某些内容。 Nagios is reporting 'check_procs' status information: PROCS OK: 188 processes; Nagios正在报告“ check_procs”状态信息:PROCS正常:188个进程; but when I run the following command directly on the server its reporting I get a different result: 但是,当我直接在服务器上运行以下命令时,其报告会得到不同的结果:

Command: ps -ef |wc -l (ubuntu machine) Result shown is 186 as against 188 its reporting. 命令:ps -ef | wc -l(ubuntu机器)显示的结果是186,而报告的是188。

Anyone come across this? 有人遇到这个吗?

cant say for sure, but my guess is, that you have 2 procs more because of this : 不能肯定地说,但是我的猜测是,由于这个原因,您还有2个进程:

  1. Call from Nagios running NRPE to Daemon 从运行NRPE的Nagios到Daemon的呼叫
  2. NRPE running the remote script NRPE运行远程脚本

which means 186 + nagios Process for check + NRPE running script for answering =188 这意味着186 +用于检查的nagios流程+用于应答的NRPE运行脚本= 188

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM