Nagios installation in different partition

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Nagios installation in different partition

Post by RIDS_I2MP »

Hello,

We have built a new server(Centos) on which we created 2 partitions. One is "/" means root and the other one is some random name.

Can we install Nagios XI setup in the other partition?
We do not want to do it in root.

Please suggest.

Thanks in advance!!
Thanks & Regards,
I2MP Team.
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: Nagios installation in different partition

Post by jbrunkow »

It is possible to change the location that XI installs to, but generally not advised. I believe that some people have done so using a symlink, and others have altered the file locations in the

Please see the following linked document for more information on what directories XI uses.
NAGIOS XI DIRECTORY STRUCTURE

You could also install it to the default location, and then move it using something like the following commands.

Code: Select all

mv /usr/local/nagios /opt/app/
mv /usr/local/nagiosmobile /opt/app/
mv /usr/local/nagiosxi /opt/app/
mv /usr/local/nagvis /opt/app/
mv /usr/local/nrdp /opt/app/
mv /usr/local/nsis /opt/app/
ln -s /opt/app/nagios /usr/local/nagios
ln -s /opt/app/nagiosmobile /usr/local/nagiosmobile
ln -s /opt/app/nagiosxi /usr/local/nagiosxi
ln -s /opt/app/nagvis /usr/local/nagvis
ln -s /opt/app/nrdp /usr/local/nrdp
ln -s /opt/app/nsis /usr/local/nsis
chown nagios.nagios /usr/local/nagiosxi
chown apache.apache /usr/local/nagvis
chown nagios.nagios /usr/local/nrdp
*from topic 34193
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked