nagios监控cpu,求指点!!!
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
此贴作废 犯个低级错误
什么错误,我也出现了,我自己写的一个脚本,调了两天了,还是没调好,求指点。
ERVICE ALERT: 96;check_my_connect;OK;HARD;4;(No output returned from plugin)
这事我的报警信息
貌似编译有问题,没找到插件
check_nrep的传参方式不对 用 -a 空格做分隔