Page 1 of 1
Nagios installation in different partition
Posted: Wed Jun 24, 2020 2:42 am
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!!
Re: Nagios installation in different partition
Posted: Wed Jun 24, 2020 11:45 am
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