Installing nagios 3.5.1 with epel repo

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mdubey
Posts: 4
Joined: Tue Nov 07, 2017 6:19 am

Installing nagios 3.5.1 with epel repo

Post by mdubey »

I am trying to install nagios-core 3.5.1 with yum using epel repo. I am facing problems since the old versions of nagios has been removed from epel-repo. The latest epel-repo is coming with nagios 4.3.2. I am using ansible to provision the nagios.

This is what I see the output of yum info nagios after adding the 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.
bolson

Re: Installing nagios 3.5.1 with epel repo

Post by bolson »

Hello mdubey,

Do I understand you correctly, you're trying to install Nagios Core 3.5.1? Is there a reason you prefer this older version over the latest version?

You can install Nagios Core 3.5.1 from source if you like. Here is the source download link

https://www.nagios.org/downloads/nagios-core/

Also, there is an unoffical RPM packaged by the Fedora project here:

http://rpm.pbone.net/index.php3/stat/4/ ... 4.rpm.html

Let us know if either of these solutions works for you.
mdubey
Posts: 4
Joined: Tue Nov 07, 2017 6:19 am

Re: Installing nagios 3.5.1 with epel repo

Post by mdubey »

Hey bolson,
Thanks for your response. For our application, we are using nagios but our templates are not yet compatible with nagios-4. We are about to release a new version and we won't have enough time to change the templates & test it.
kyang

Re: Installing nagios 3.5.1 with epel repo

Post by kyang »

@mdubey, were you able to install Nagios 3.5.1 with the suggested links @bolson gave you?

Did you have any more questions or are we okay to close this thread?
mdubey
Posts: 4
Joined: Tue Nov 07, 2017 6:19 am

Re: Installing nagios 3.5.1 with epel repo

Post by mdubey »

Thanks,
Yeah, I got that as a workaround. I am facing a different issue. Our application is provisioned using Ansible(https://www.ansible.com/). For now, we are saying install nagios by giving the remote RPM link in ansible tasks, but I am not sure how long these remote URLs for RPMs will be valid. Is it possible/legal create a local cache for these RPMs.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Installing nagios 3.5.1 with epel repo

Post by tmcdonald »

mdubey wrote:Is it possible/legal create a local cache for these RPMs.
Legal and documented: https://wiki.centos.org/HowTos/CreateLocalMirror
Former Nagios employee
mdubey
Posts: 4
Joined: Tue Nov 07, 2017 6:19 am

Re: Installing nagios 3.5.1 with epel repo

Post by mdubey »

Hey guys, thanks for your help. Let me know how to close this topic.
kyang

Re: Installing nagios 3.5.1 with epel repo

Post by kyang »

No problem. We can close this topic.

If you have any more questions, feel free to create another thread!

Thank you for using the Nagios Support Forum!
Locked