温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

Return code of 127 is out of bounds - plugin may be missing

发布时间:2020-07-06 12:27:24 来源:网络 阅读:1433 作者:guoxianqi2014 栏目:移动开发

1、使用命令直接运行正常

[root@lvs01 objects]# /usr/local/nagios/libexec/check_nrpe -H 192.168.2.3 -c check_iostat

IOSTAT OK - user 0.62 nice 0.00 sys 1.76 iowait 0.54 idle 0.00  | iowait=0.54%;; idle=0.00%;; user=0.62%;; nice=0.00%;; sys=1.76%;;


2、原因:使用脚本导入时,以变量处理了$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$此行

define command{

        command_name    check_nrpe

        command_line    $/check_nrpe -H $ -c $ <--此处命令错误

}


3、正确命令为:

define command{

        command_name    check_nrpe

        command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$

        }


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI