The reason we want the profiles is to tailor the commands to your system. For the most part they are similar but here's a more universal explanation of what those instructions entail:
Take an xi backup first just in case:
https://assets.nagios.com/downloads/nag ... ios-xi.pdf
For EL6/sysv OSes:
Code: Select all
service nagios stop
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.14.tar.gz
tar zxf xi-5.6.14.tar.gz
cd /tmp/nagiosxi
./init.sh
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
chkconfig ndo2db on
Code: Select all
systemctl stop nagios
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.14.tar.gz
tar zxf xi-5.6.14.tar.gz
cd /tmp/nagiosxi
./init.sh
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
systemctl enable ndo2db
- You can get the info from your /usr/local/nagios/etc/ndo.cfg or from /usr/local/nagiosxi/html/config.inc.php
db_host
db_port
db_user
db_pass
Then run this command to start it up:
For EL6/sysv OSes:
Code: Select all
service ndo2db start
Code: Select all
systemctl start ndo2db
Code: Select all
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Code: Select all
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
For EL6/sysv OSes:
Code: Select all
service nagios start
Code: Select all
systemctl start nagios