coverl 发表于 2019-1-15 13:46:27

nagios监控错误 (Return code of 127 is out of bounds ...)

  我的nrpe 安装在 /usr/local/nrpe
  nagios安装在 /usr/local/nagios
  看看 nrpe.cfg没有问题啊 有权限的
  看看 commmands.cfg 也没有写错的
  /usr/local/nrpe/libexec/check_nrpe -H 192.168.122.251 -c check_disk
  都是正常的
  但是写到配置文件里面 就是没有数据的, 检测收不到的
  最后想到的是 check_nrep!check_disk里面的check_nrpe用的是 nagios文件夹下面的的 文档没有仔细看的
  cp/usr/local/nrpe/libexec/check_nrpe /usr/local/nagios/libexec/ 就好的
  检测系统的 disk user processload 需要 nrpe其他的 mysqlping ssh http 服务可以不需要nrpe 关键看监控的类型了

页: [1]
查看完整版本: nagios监控错误 (Return code of 127 is out of bounds ...)