首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >用epel回购安装nagios 3.5.1

用epel回购安装nagios 3.5.1
EN

Unix & Linux用户
提问于 2017-11-07 11:33:28
回答 2查看 426关注 0票数 0

我正试图用yum安装nagios-core 3.5.1,使用epel repo。我正面临着问题,因为旧版本的nagios已经从epel-repo中删除。最新的epel-repo将随nagios 4.3.2而来。我正在使用ansible来提供nagios。

这就是我在添加epel-repo之后看到的yum info nagios的输出。

代码语言:javascript
运行
复制
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.
EN

回答 2

Unix & Linux用户

回答已采纳

发布于 2017-11-07 13:01:07

如果您想使用rpm安装它,请下载包这里并安装它:

代码语言:javascript
运行
复制
rpm -Uvh nagios-3.5.1-1.el6.x86_64.rpm

尝试并查看nagios的旧版本是否仍然可用(请再次检查以确保。你不想无缘无故跳过篮圈)

代码语言:javascript
运行
复制
yum --showduplicates list nagios | expand

如果不存在旧版本:

/etc/yum/yum.repos.d/中禁用新的EPEL回购

加上旧的EPEL回购:

代码语言:javascript
运行
复制
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

确保在/etc/yum/yum.repos.d/中启用旧回购,然后安装nagios

代码语言:javascript
运行
复制
yum install nagios -y
票数 2
EN

Unix & Linux用户

发布于 2017-11-07 11:44:07

很方便,您决定不提供发行版,但是通过扣减功能,我提供了到EL6包的链接,这是由fedora koji提供的(这恰好是epel的来源):

https://koji.fedoraproject.org/koji/buildinfo?buildID=460533

票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/403037

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档