dickrong 发表于 2019-1-12 14:30:41

nagios报错Return code of 255 is out of bounds

  在命令行执行的时候没有问题,
  #/usr/lib64/nagios/plugins/check_nrpe -H 192.168.0.107 -c check_memory
  OK 0.59G
  但是在nagios浏览器界面显示这个问题,
  一般的解决方案都是检查两个方面:
  vim /etc/nagios/nrpe.cfg
  allowed_hosts=127.0.0.1, 192.168.0.110            //地址对不对
  

  或者是不是客户机或者服务机上的SELINUX没有关闭
  

  如果都不是
  然后服务机上tail /var/log/messages
  Warning: Return code of 255 for check of service 'check-memory' on host 'www.node2.com' was out of bounds.
  说明www.node2.com有问题,查看nagios界面的Host里www.node2.com的状态是DOWN,连接不到www.node2.com,所以才会报错。

  

  

  




页: [1]
查看完整版本: nagios报错Return code of 255 is out of bounds