【发布时间】:2014-04-01 02:56:20
【问题描述】:
我已经为远程服务器配置了 NRPE,它成功地报告了 9 个命令,但是对于其他大约 10 个命令,它给了我未定义的错误。基本上,我试图将此服务器用作代理,以便从外部无法访问的后端服务器中提取统计信息。通过命令行运行命令它运行正常,但是当尝试从 nagios 服务器中提取统计信息时,第一个命令成功,第二个命令给出以下输出:
错误:
NRPE: Command 'check_remote_users' not defined
作品:
command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10
不起作用:
command[check_remote_users]=/usr/lib64/nagios/plugins/check_nrpe -H hostname -c check_users
这似乎也有效,这是两者的结合:
command[check_users]=/usr/lib64/nagios/plugins/check_nrpe -H hostname -c check_users
任何帮助将不胜感激。
【问题讨论】:
标签: monitoring nagios nrpe