nagios监控cpu,求指点!!!

发布于 2022-10-15 05:48:06 字数 3796 浏览 25 评论 0

nagios监控cpu,cpu本身很正常,但状态未知 哪位大侠指点下! 谢谢了!!!!!!!!!!!!!!!!!!!
check_command                   check_nrpe!check_load -w 2,2,2 -c 3,3,3
日志信息
[1306625228] SERVICE NOTIFICATION: nagiosadmin;cui;cpu;UNKNOWN;notify-service-by-email;(No output returned from plugin)

以下是报错信息
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技术交流群

发布评论

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

评论(5

烧了回忆取暖 2022-10-22 05:48:06

此贴作废 犯个低级错误

鸵鸟症 2022-10-22 05:48:06

什么错误,我也出现了,我自己写的一个脚本,调了两天了,还是没调好,求指点。

苦妄 2022-10-22 05:48:06

ERVICE ALERT: 96;check_my_connect;OK;HARD;4;(No output returned from plugin)
这事我的报警信息

唱一曲作罢 2022-10-22 05:48:06

ERVICE ALERT: 96;check_my_connect;OK;HARD;4;(No output returned from plugin)
这事我的报警信息
cfeva 发表于 2011-12-01 11:01

    貌似编译有问题,没找到插件

挽清梦 2022-10-22 05:48:06

check_nrep的传参方式不对  用 -a  空格做分隔

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