Page 1 of 1

Install NagiosXI to a custom partition ...

Posted: Mon Jun 04, 2018 3:15 am
by vishfx
Hi Nagios Support,

Linux Distribution : RHEL 7.3 64-bit
Manual Install of XI : NagiosXI 5.4.13

I managed to get NagiosXI 5.4.13 on RHEL 7.3 using Nagios Repo and setup 2 worker nodes running modgearman.

Wanted to know how can I install NagiosXI to a custom partition For eg: /apps/nagiosxi ?

Primary reason to do this would be to make sure not to run out of diskapce eg: mysql db size etc ?
Also share if any documentation available.

Kindly advise.

Regards,
Vish.

Re: Install NagiosXI to a custom partition ...

Posted: Mon Jun 04, 2018 2:43 pm
by scottwilkerson
This is not supported. This installation expect nagios and its dependent files to be located in in certain places on the OS.

It may be possible to move some directories and replace with symlinks, but you would be getting into uncharted territory, and will likely run into complications.

Re: Install NagiosXI to a custom partition ...

Posted: Mon Jun 04, 2018 2:57 pm
by cdienger
+1 for what @@scottwilkersonmentioned already mentioned. Additionally I thought a manual install(https://assets.nagios.com/downloads/nag ... -Linux.pdf), editing the /tmp/nagiosxi/xi-sys.cfg and the proddir line before running the ./fullinstall script, would do the trick, but the installation doesn't complete even with this and it's highly likely there are other components outside of the installation scripts that have the directory hard-coded as well.

Re: Install NagiosXI to a custom partition ...

Posted: Fri Jun 08, 2018 4:41 am
by vishfx
Thanks Guys.

But ,If I allocate sufficient storage
eg: 100GB for /usr/local (nagios,nagiosmobile,nagvis,nrdp,nsis,nagiosxi) & 150GB for /var/lib/mysql ( DB data files folder ) ,

Am I well covered from the risk of running out of disk space ?

Are there any other path's that I need to be aware of ?

Regards,
Vish.

Re: Install NagiosXI to a custom partition ...

Posted: Fri Jun 08, 2018 10:25 am
by cdienger
That should be adequate for most. Of course it all depends on how many hosts/services are available, the types of checks and how long you intend to keep data. https://support.nagios.com/kb/article.php?id=26 has some details and https://assets.nagios.com/downloads/nag ... zation.pdf cover some common things to watch for and do to avoid filling up the drive.

Re: Install NagiosXI to a custom partition ...

Posted: Mon Jun 18, 2018 5:31 am
by vishfx
Thanks , those inputs helped.

Regards,
Vish.

Re: Install NagiosXI to a custom partition ...

Posted: Mon Jun 18, 2018 9:33 am
by tmcdonald
Did you have further (related) questions or are we good to lock this up?