Returncodeof127isoutofbounds-pluginmaybemissing-成都快上网建站

Returncodeof127isoutofbounds-pluginmaybemissing

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

创新互联主营钟山网站建设的网络公司,主营网站建设方案,App定制开发,钟山h5微信平台小程序开发搭建,钟山网站营销推广欢迎钟山等地区企业咨询

[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$

        }


本文名称:Returncodeof127isoutofbounds-pluginmaybemissing
网页路径:http://kswjz.com/article/jedgoi.html
扫二维码与项目经理沟通

我们在微信上24小时期待你的声音

解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流