安装 Nagios 插件时的依赖问题

安装 Nagios 插件时的依赖问题

安装 nagios-plugins 时遇到依赖问题:

yum install nagios-plugins-all

...

--> Processing Dependency: /usr/bin/sensors for package: nagios-plugins-sensors-1.4.15-7.el6.i686
--> Finished Dependency Resolution
Error: Package: nagios-plugins-sensors-1.4.15-7.el6.i686 (epel)
           Requires: /usr/bin/sensors
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

操作系統:

  • RHEL 6.1

已安装的软件包:

  • nagios.i686 3.2.3-3.el6.rf
  • nagios-插件.i686 1.4.15-7.el6

答案1

sensors是 lm-sensors 包的一部分。你应该能够使用简单的命令安装它

yum install lm_sensors

然后尝试再次安装 nagios。

相关内容