小编San*_*eep的帖子

Nagios NRPE:命令未定义

在我nrpe_local.cfg添加的以下命令中:

command[check_mycommand]=/usr/lib/nagios/plugins/check_command 30 35
Run Code Online (Sandbox Code Playgroud)

然后重新启动nrpe守护程序.

当我执行此命令时,nrpe我收到以下错误:

NRPE: Command 'check_mycommand' not defined
Run Code Online (Sandbox Code Playgroud)

我用以下命令执行:

/usr/lib/nagios/plugins/check_nrpe -H hostname -c check_mycommand
Run Code Online (Sandbox Code Playgroud)

我无法得到任何线索.

在我的nrpe_local.cfg还有10个命令添加,他们正常工作.

nagios nrpe

6
推荐指数
1
解决办法
6万
查看次数

无法使用kill -9杀死僵尸进程

在我的服务器中运行了2个僵尸进程,我无法用kill -9命令杀死它们.

$ ps aux | awk '{ print $8 " " $2 }' | grep -w Z

输出:

Z 8511 Z 9002

有人可以建议我任何其他更好的方法来杀死他们.

谢谢,

桑迪普.

linux ubuntu

4
推荐指数
1
解决办法
2986
查看次数

标签 统计

linux ×1

nagios ×1

nrpe ×1

ubuntu ×1