Page 1 of 1

Not install in /usr/local

Posted: Wed Mar 27, 2013 2:38 pm
by capriguy84
Hi All,

I am a prospective customer of Nagios XI and have trouble installing int a location other than /usr/local.

I'd like to install in /opt/nagiosxi & /opt/nagios if possible. There are too many hard-coded references to /usr/local/nagios which make it impossible to achieve this.

I tried using --prefix=/opt/nagios for core and other components. I also used sed to fix some hard coded values, but it doesn't end there. The Web front end is complaining incorrect permissions to config files but doesn't mention which ones. And import CCM components(Import Config) complains about /usr/local not available.

OS: RHEL 6.2
Nagios XI: download latest from Nagios site.

REAL QUESTION: If we purchase the license, will support help us with the installation?

Re: Not install in /usr/local

Posted: Wed Mar 27, 2013 2:59 pm
by abrist
Have you tried using symlinks?

Code: Select all

ln -s /usr/local/nagios /opt/nagios
ln -s /usr/local/nagiosxi /opt/nagiosxi
!DISCLAIMER!: Installing XI in a non standard location is not officially supported, though we will do everything we can to help out.

Re: Not install in /usr/local

Posted: Thu Mar 28, 2013 5:24 pm
by capriguy84
Is using symlinks supported? Any known issues with that?

Re: Not install in /usr/local

Posted: Fri Mar 29, 2013 8:06 am
by scottwilkerson
capriguy84 wrote:Is using symlinks supported? Any known issues with that?
As Andy had mentioned
abrist wrote:!DISCLAIMER!: Installing XI in a non standard location is not officially supported, though we will do everything we can to help out.
We have had other people have success doing this but again, not officially supported. One thing to make sure of is the permissions on the directories you will need to pre-create. Here is what they look like on a standard install

Code: Select all

ls -dl /usr/local/nagios /usr/local/nagiosxi
drwxr-xr-x  9 nagios nagios 4096 Nov 28 13:40 /usr/local/nagios
drwxr-xr-x 10 nagios nagios 4096 Sep 13  2012 /usr/local/nagiosxi