Nagios Core Installation

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
aajewole
Posts: 40
Joined: Fri Aug 12, 2016 11:14 am

Nagios Core Installation

Post by aajewole »

Hello,

I am new to the forum, not sure if this is the right place. I installed nagios core last November for my new company and it has been working great. Today, I found out according to standard, apps need to be installed on a different file system. I already have nagios running from the default path /usr/local/nagios. How can I move this to a different path including apache? If I start fresh (which I can, since I have backup of all files and folders), the installation guide do not show how to install nagios on different file system, how can I achieve this?

Thanks
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios Core Installation

Post by rkennedy »

You will need to recompile Core. When you run the ./configure, you can append --prefix=/your/path/here/nagios and that will have it install to the /your/path/here/nagios directory rather than /usr/local/nagios. Apache is a bit out of what we support, but as long as the configuration files for core make it into the conf.d directory, you shouldn't have a problem.
Former Nagios Employee
Locked