System Hung

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Re: System Hung

Post by FCC_Nagios_Support »

watch ipcs -q empty
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Re: System Hung

Post by FCC_Nagios_Support »

proccesss state red and no engine monitoring
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Re: System Hung

Post by FCC_Nagios_Support »

we copied from other system
is the ndo belongs to old version according to the new one
KR
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: System Hung

Post by ssax »

NDO2DB doesn't exist in XI 5.7+ by default, it is replaced by the new NDO3 (that is not a service and doesn't use the ipcs queue).

To re-setup NDO2DB on XI 5.7 you would need to run these commands as root:

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.:

Code: Select all

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

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:

Code: Select all

systemctl start nagios
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Re: System Hung

Post by FCC_Nagios_Support »

We copied ndo: .o, bin and cfg and service unit from other system adn running
I do not understand the cause of ndo2db dissapear

Thsk
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: System Hung

Post by ssax »

When you upgraded to XI 5.7 NDO2DB (the service) was removed intentionally to move towards the new serviceless NDO3. If you have issues with the new NDO3 you can downgrade (meaning re-install NDO2DB and enabling NDO2DB/disabling NDO3 like the instructions I sent do).

If you PM me a copy of your profile I can take a look to see if I see any issues.
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Re: System Hung

Post by FCC_Nagios_Support »

I am very afraid that we are using the old broker
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: System Hung

Post by ssax »

The old broker NDO2DB is more stable than the new NDO3 on some systems.

There's no reason to be afraid, they are interchangeable at this point in time and development is aware that we've had customers do this.

If this was my system, I'd be running the old NDO2DB as well at this point in time.
Locked