nagios nrpe 错误集

【错误解决】
1.CHECK_NRPE: Error – Could not complete SSL handshake
还未解决,但是不影响使用


2.Return code of 127 is out of bounds - plugin may be missing
check_load出的问题,检查配置文件是不是有问题(这个问题checkconfig是检查不出来的),这里面可能是command_line $USER1$/check_iptables_modify里面少了个$或者少了个/。也可以看nagios日志就会说这个脚本不正确。


3.debug our new script
自己编写的脚本在本地手动测试通过不代表nagios执行的时候就没问题。这里面会有很多权限的问题。例如在nagios服务器端/usr/local/nagios/libexec/check_nrpe -H ip -c check_iptables_modify 测试客户端的脚本。如果没问题就OK了

猜你喜欢

转载自runpanda.iteye.com/blog/2090233