Compile Apache for Nagios instead of yum

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
ks6764
Posts: 58
Joined: Thu Aug 20, 2015 10:42 am

Compile Apache for Nagios instead of yum

Post by ks6764 »

We are not allowed to use yum to install http to /etc/httpd as is the typical instruction for the pre-requisites for setting up Nagios Core.
Instead, we must compile Apache and place it under /opt/app/apache.
Can someone provide all the arguments I should use for an Apache compile so that I ensure it works properly with Nagios Core ?

Yum install of the other components like gcc, etc. are acceptable.

Thank you in advance for any advise.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Compile Apache for Nagios instead of yum

Post by scottwilkerson »

If it is compiles as it normally comes with your OS it should be fine, however when you go to make nagios configs you are going to need to install the httpd configs to your config location with a command like this

Code: Select all

sudo /usr/bin/install -c -m 644 sample-config/httpd.conf /your/custom/path/etc/apache2/sites-available/nagios.conf
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked