Page 1 of 1

Installing nagios 3.5.1 with epel repo

Posted: Tue Nov 07, 2017 6:43 am
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.

Re: Installing nagios 3.5.1 with epel repo

Posted: Tue Nov 07, 2017 2:40 pm
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.

Re: Installing nagios 3.5.1 with epel repo

Posted: Wed Nov 08, 2017 12:26 am
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.

Re: Installing nagios 3.5.1 with epel repo

Posted: Wed Nov 08, 2017 4:23 pm
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?

Re: Installing nagios 3.5.1 with epel repo

Posted: Thu Nov 09, 2017 12:15 am
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.

Re: Installing nagios 3.5.1 with epel repo

Posted: Thu Nov 09, 2017 3:41 pm
by tmcdonald
mdubey wrote:Is it possible/legal create a local cache for these RPMs.
Legal and documented: https://wiki.centos.org/HowTos/CreateLocalMirror

Re: Installing nagios 3.5.1 with epel repo

Posted: Thu Nov 09, 2017 11:51 pm
by mdubey
Hey guys, thanks for your help. Let me know how to close this topic.

Re: Installing nagios 3.5.1 with epel repo

Posted: Fri Nov 10, 2017 11:09 am
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!