本人菜鸟求指点

发布于 2022-10-15 05:48:10 字数 3440 浏览 21 评论 0

nagios监控cpu 但状态未知 哪位大侠指点下
check_command                   check_nrpe!check_load -w 2,2,2 -c 3,3,3

以下是报错信息
Current Status:       
  UNKNOWN  
(for 0d 0h 15m 44s)
Status Information:        (No output returned from plugin)
NRPE Plugin for Nagios
Copyright (c) 1999-2008 Ethan Galstad (nagios@nagios.org)
Version: 2.12
Last Modified: 03-10-2008
License: GPL v2 with exemptions (-l for more info)
SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required

Usage: check_nrpe -H <host> [-n] [-u] [-p <port>] [-t <timeout>] [-c <command>] [-a <arglist...>]

Options:
-n = Do no use SSL
-u = Make socket timeouts return an UNKNOWN state instead of CRITICAL
<host> = The address of the host running the NRPE daemon
[port] = The port on which the daemon is running (default=5666)
[timeout] = Number of seconds before connection times out (default=10)
[command] = The name of the command that the remote daemon should run
[arglist] = Optional arguments that should be passed to the command. Multiple
arguments should be separated by a space. If provided, this must be
the last option supplied on the command line.

Note:
This plugin requires that you have the NRPE daemon running on the remote host.
You must also have configured the daemon to associate a specific plugin command
with the [command] option you are specifying here. Upon receipt of the
[command] argument, the NRPE daemon will run the appropriate plugin command and
send the plugin output and return code back to *this* plugin. This allows you
to execute plugins on remote hosts and 'fake' the results to make Nagios think
the plugin is being run locally.

Performance Data:       
Current Attempt:        5/5  (HARD state)
Last Check Time:        05-29-2011 07:05:26
Check Type:        ACTIVE
Check Latency / Duration:        0.028 / 0.007 seconds
Next Scheduled Check:          05-29-2011 07:07:26
Last State Change:        05-29-2011 06:51:23
Last Notification:        05-29-2011 07:05:28 (notification 2)
Is This Service Flapping?       
  NO  
(5.59% state change)
In Scheduled Downtime?       
  NO  
Last Update:        05-29-2011 07:06:58  ( 0d 0h 0m 9s ago)
Active Checks:       
  ENABLED  
Passive Checks:       
  ENABLED  
Obsessing:       
  ENABLED  
Notifications:       
  ENABLED  
Event Handler:       
  ENABLED  
Flap Detection:       
  ENABLED

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

可爱咩 2022-10-22 05:48:10

日志信息
[1306625228] SERVICE NOTIFICATION: nagiosadmin;cui;cpu;UNKNOWN;notify-service-by-email;(No output returned from plugin)

与他有关 2022-10-22 05:48:10

被监控机 cpu很正常 那个未知状态哪位大侠能否指点下

一个人的旅程 2022-10-22 05:48:10

此贴作废 犯个低级错误

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文