epel repoを使用してyumを介してnagios-core 3.5.1をインストールしようとしています。以前のバージョンのnagiosがepel-repoから削除されたため、問題があります。最新のepel-repoはnagios 4.3.2に付属しています。私はnagiosを構築するためにansibleを使用しています。
yum info nagios
これはepel-repoを追加した後に表示される出力です。
Available Packages
Name : nagios
Arch : x86_64
Version : 4.3.2
Release : 5.el6
Size : 1.7 M
Repo : epel
Summary : Host/service/network monitoring program
URL : https://www.nagios.org/projects/nagios-core/
License : GPLv2
Description : Nagios is a program that will monitor hosts and services on your
: network. It has the ability to send email or page alerts when a
: problem arises and when a problem is resolved. Nagios is written
: in C and is designed to run under Linux (and some other *NIX
: variants) as a background process, intermittently running checks
: on various services that you specify.
:
: The actual service checks are performed by separate "plugin" programs
: which return the status of the checks to Nagios. The plugins are
: available at https://github.com/nagios-plugins/nagios-plugins
:
: This package provides the core program, web interface, and documentation
: files for Nagios. Development files are built as a separate package.
ベストアンサー1
インストールを使用するには、rpm
パッケージをダウンロードしてください。ここそしてインストールしてください:
rpm -Uvh nagios-3.5.1-1.el6.x86_64.rpm
Nagiosの以前のバージョンがまだ利用可能であることを確認してください。 (確かに確認するには、もう一度確認してください。何の理由もなく困難を経験したくありません。)
yum --showduplicates list nagios | expand
以前のバージョンが存在しない場合:
新しいEPELリポジトリを無効にする/etc/yum/yum.repos.d/
古いEPELリポジトリを追加します。
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
古いリポジトリを有効に/etc/yum/yum.repos.d/
してインストールしたことを確認してください。nagios
yum install nagios -y