Compile Apache for Nagios instead of yum

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Compile Apache for Nagios instead of yum

Postby ks6764 » Sat Apr 14, 2018 2:28 pm

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

Re: Compile Apache for Nagios instead of yum

Postby scottwilkerson » Mon Apr 16, 2018 7:43 am

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
DevOps Engineer
Posts: 11179
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 14 guests