Questions regarding updating Nagios xi to version 5.7.4

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Questions regarding updating Nagios xi to version 5.7.4

Post by ssax »

If everything looks good you likely did the proper procedure.

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
For EL7+/systemd OSes:

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
If you have an offloaded database you will need to edit your /usr/local/nagios/etc/ndo2db.cfg file and update these before running the next command to start it up:
- 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
For EL7+/systemd OSes:

Code: Select all

systemctl start ndo2db
Then edit your /usr/local/nagios/etc/nagios.cfg and make sure this line is uncommented/add it if needed:

Code: Select all

broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Make sure all occurrences of this line are commented:

Code: Select all

#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
Then start the nagios service:

For EL6/sysv OSes:

Code: Select all

service nagios start
For EL7+/systemd OSes:

Code: Select all

systemctl start nagios
tony
Posts: 59
Joined: Sat Mar 08, 2014 5:49 am

Re: Questions regarding updating Nagios xi to version 5.7.4

Post by tony »

Many thanks for these instructions
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Questions regarding updating Nagios xi to version 5.7.4

Post by ssax »

Glad to help, let us know if you have any related questions or if we're okay to lock this up and mark it as resolved.
tony
Posts: 59
Joined: Sat Mar 08, 2014 5:49 am

Re: Questions regarding updating Nagios xi to version 5.7.4

Post by tony »

Yes close this post we will upgrade our DEV environment first before the live systems
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Questions regarding updating Nagios xi to version 5.7.4

Post by scottwilkerson »

tony wrote:Yes close this post we will upgrade our DEV environment first before the live systems
Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart