温馨提示×

温馨提示×

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

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

nagios   IO监控 Error executing iostat command

发布时间:2020-08-09 15:08:14 来源:网络 阅读:717 作者:SwordGuan 栏目:移动开发

本来io监控是好好的,昨天因为要装postfix,就卸载以前sendmail,yum remove sendmail。今天来打开nagios一开,io的监控成灰色的了。报错如下:IOSTAT UNKNOWN - Error executing iostat command

郁闷了别的都好好的。于我就去该机器下面手动执行一下。

cd /usr/local/nagios/libexec/

[root@13 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的时候卸载了一些依赖的软件包。

向AI问一下细节

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

AI