Abhinay Khanna
2017-Oct-24 12:57 UTC
[CentOS] Not Able to Configure Nagios Server 4.3.4 in Centos 7
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. 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 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. Can anyone help with this ? TIA Abhinay Get Outlook for Android<https://aka.ms/ghei36>
Chris Beattie
2017-Oct-24 14:46 UTC
[CentOS] Not Able to Configure Nagios Server 4.3.4 in Centos 7
> 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 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.What's not working? Did it compile correctly? Nagios needs some extra packages to for all of its features to work. These can be installed via YUM even if you compile Nagios itself from source. Also, if you install Nagios from source, SELinux will prevent it from doing a lot of stuff by default. However, it's entirely possible to run Nagios with SELinux in Enforcing mode with the right policy.
Abhinay Khanna
2017-Oct-25 13:23 UTC
[CentOS] Not Able to Configure Nagios Server 4.3.4 in Centos 7
Thanks for your reply Actually the case is that the compiling process and make all, make install processes didn't report any errors but when I trying to access or start the service Nagios it gives me an error stating it's unable to find that service. This happens with me when I try to manually install the applications from source. Am I missing any important step in the installation process that could be causing this issue. Thanks and Regards, Abhinay Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: CentOS <centos-bounces at centos.org> on behalf of Chris Beattie <cbeattie at unitrends.com> Sent: Tuesday, October 24, 2017 8:16:00 PM To: CentOS mailing list Subject: Re: [CentOS] Not Able to Configure Nagios Server 4.3.4 in Centos 7> 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 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.What's not working? Did it compile correctly? Nagios needs some extra packages to for all of its features to work. These can be installed via YUM even if you compile Nagios itself from source. Also, if you install Nagios from source, SELinux will prevent it from doing a lot of stuff by default. However, it's entirely possible to run Nagios with SELinux in Enforcing mode with the right policy. _______________________________________________ CentOS mailing list CentOS at centos.org https://lists.centos.org/mailman/listinfo/centos
Stephen John Smoogen
2017-Oct-26 13:40 UTC
[CentOS] Not Able to Configure Nagios Server 4.3.4 in Centos 7
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 workingThe 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 https://src.fedoraproject.org/rpms/nagios/tree/master 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 ? > > TIA > 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.
Abhinay Khanna
2017-Oct-27 17:16 UTC
[CentOS] Not Able to Configure Nagios Server 4.3.4 in Centos 7
Hi Guys, Thanks for helping out with things. I appreciate your help The issue is resolved. Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: CentOS <centos-bounces at centos.org> on behalf of Chris Beattie <cbeattie at unitrends.com> Sent: Tuesday, October 24, 2017 8:16:00 PM To: CentOS mailing list Subject: Re: [CentOS] Not Able to Configure Nagios Server 4.3.4 in Centos 7> 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 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.What's not working? Did it compile correctly? Nagios needs some extra packages to for all of its features to work. These can be installed via YUM even if you compile Nagios itself from source. Also, if you install Nagios from source, SELinux will prevent it from doing a lot of stuff by default. However, it's entirely possible to run Nagios with SELinux in Enforcing mode with the right policy. _______________________________________________ CentOS mailing list CentOS at centos.org https://lists.centos.org/mailman/listinfo/centos
Seemingly Similar Threads
- Not Able to Configure Nagios Server 4.3.4 in Centos 7
- Not Able to Configure Nagios Server 4.3.4 in Centos 7
- Trying to setting a selinux policy to Nagios 3.0.6 on CentOS 5.2 .
- Nagios installation problem
- Contribution to wiki: nagios incompatibility with centos 5.2