nagios   IO监控 Error executing iostat command

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

本来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的时候卸载了一些依赖的软件包。

目录
相关文章
|
4月前
|
Java 应用服务中间件
已解决:An error occurred at line: 1 in the generated java file The type java.io.ObjectInputStream canno
已解决:An error occurred at line: 1 in the generated java file The type java.io.ObjectInputStream canno
78 0
|
11月前
|
监控 前端开发 存储
实时通信:企业员工监控管理软件中的Socket.io实现
在企业环境中,实时监控员工的工作状态和行为对于提高生产效率和确保数据安全至关重要。本文将介绍如何使用Socket.io实现企业员工监控管理软件中的实时通信功能,通过这种方式实现对员工的即时监控和数据收集。
209 0
|
5月前
io.lettuce.core.RedisCommandTimeoutException: Command timed out 解决办法
io.lettuce.core.RedisCommandTimeoutException: Command timed out 解决办法
53 0
|
5月前
|
Kubernetes 容器 Perl
error: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is cu
error: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is cu
89 0
|
5月前
记录以下出现:java.io.IOException: (null) entry in command string: null ls -F E:\file\a.txt 情况怎么办?
记录以下出现:java.io.IOException: (null) entry in command string: null ls -F E:\file\a.txt 情况怎么办?
118 0
|
网络协议 jenkins 持续交付
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker
694 0
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker
|
网络协议 C++ Docker
Docker pull拉取镜像报错“Error response from daemon: Get "https://registry-1.docker.io/v2”解决办法
Docker pull拉取镜像报错“Error response from daemon: Get "https://registry-1.docker.io/v2”解决办法
14476 1
|
监控
监控ASM磁盘IO(iostat)
找到ASM磁盘对应的OS设备
258 0
|
SQL Java 数据库连接
Mybatis:Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource
Mybatis:Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource