甩祸 发表于 2019-1-13 15:38:17

nagios IO监控 Error executing iostat command

  本来io监控是好好的,昨天因为要装postfix,就卸载以前sendmail,yum remove sendmail。今天来打开nagios一开,io的监控成灰色的了。报错如下:IOSTAT UNKNOWN - Error executing iostat command
  郁闷了别的都好好的。于我就去该机器下面手动执行一下。
  cd /usr/local/nagios/libexec/
  # ./check_iostat
  Can't exec "iostat": No such file or directory at ./check_iostat line 68.
  IOSTAT UNKNOWN - Error executing iostat command
  于是我重新一下yum -y install sysstat
  在次执行: ./check_iostat
  OK 返回值正常。可能是卸载sendmail的时候卸载了一些依赖的软件包。



页: [1]
查看完整版本: nagios IO监控 Error executing iostat command