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.
Compile Apache for Nagios instead of yum
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Compile Apache for Nagios instead of yum
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