[CentOS] Not Able to Configure Nagios Server 4.3.4 in Centos 7

Thu Oct 26 13:40:17 UTC 2017
Stephen John Smoogen <smooge at gmail.com>

On 24 October 2017 at 08:57, Abhinay Khanna <abhinaykhanna15 at outlook.com> wrote:
> Hi Team,
> I was trying to install the Nagios server in Centos 7.
> I had downloaded and unzipped the Nagios server and it's plugins file.

I am the maintainer of the Nagios package in EPEL so I may be able to help here.

I am guessing you are downloading the nagioscore zip file from the github?

> As per the installation instructions I ran the commands in the concerned folders of ./configure , make , make install for both the core and the Nagios plugins.
> I am not able to figure out the issue behind that it is not working

The default nagios configure will put things in many 'strange' places
which may work on some sort of BSD but do not work with most of the
Linux. There are a lot of configure options one needs to pass which
are in the src.rpm spec file which you can see at

I hate to say this but a make install may have pushed files and
permissions all over this system so you are going to need to either
spend some time cleaning or redeploy.

If you want to make an updated rpm because I am not caught up:

yum install epel-releast
yum install fedpkg
fedpkg clone --anonymous nagios
cd nagios
fedpkg switch-branch epel7
fedpkg srpm
[This will make a src.rpm of the latest code.]
download the source code you want.
edit the spec file to point to the new src code.
check to see if a patch-0000 is turned on in the spec file. If it is
comment it out as it will contain a src diff to the maintenance
upstream branch
fedpkg mockbuild
start debugging what might have not worked or you will have fixed rpms
in results/

> It did got installed using yum which was a previous 4.3.2 that that had it's own errors and wanted me to update with no update of it available in the epel repository.

There is an update in epel-testing. I am looking for people to test it
so I can push it to stable.

> Can anyone help with this ?
> Abhinay
> Get Outlook for Android<https://aka.ms/ghei36>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos

Stephen J Smoogen.