安装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 

OS:

  • RHEL 6.1

安装的软件包:

  • nagios.i686 3.2.3-3.el6.rf
  • nagios-plugins.i686 1.4.15-7.el6

sensors是lm-sensors封装的一部分。 你应该可以用简单的方式安装它

 yum install lm_sensors 

然后尝试再次安装Nagios。