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?
Not install in /usr/local
Re: Not install in /usr/local
Have you tried using symlinks?
!DISCLAIMER!: Installing XI in a non standard location is not officially supported, though we will do everything we can to help out.
Code: Select all
ln -s /usr/local/nagios /opt/nagios
ln -s /usr/local/nagiosxi /opt/nagiosxiFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
capriguy84
- Posts: 10
- Joined: Wed Mar 27, 2013 2:27 pm
Re: Not install in /usr/local
Is using symlinks supported? Any known issues with that?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Not install in /usr/local
As Andy had mentionedcapriguy84 wrote:Is using symlinks supported? Any known issues with that?
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 installabrist wrote:!DISCLAIMER!: Installing XI in a non standard location is not officially supported, though we will do everything we can to help out.
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