System Hung
-
FCC_Nagios_Support
- Posts: 161
- Joined: Tue Mar 10, 2020 11:07 am
Re: System Hung
watch ipcs -q empty
-
FCC_Nagios_Support
- Posts: 161
- Joined: Tue Mar 10, 2020 11:07 am
Re: System Hung
proccesss state red and no engine monitoring
-
FCC_Nagios_Support
- Posts: 161
- Joined: Tue Mar 10, 2020 11:07 am
Re: System Hung
we copied from other system
is the ndo belongs to old version according to the new one
KR
is the ndo belongs to old version according to the new one
KR
Re: System Hung
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:
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.:
Then edit your /usr/local/nagios/etc/nagios.cfg and make sure this line is uncommented:
Make sure all occurrences of this line are commented:
Then start the nagios service:
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- 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 ndo2dbCode: Select all
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfgCode: Select all
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfgCode: Select all
systemctl start nagios-
FCC_Nagios_Support
- Posts: 161
- Joined: Tue Mar 10, 2020 11:07 am
Re: System Hung
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
I do not understand the cause of ndo2db dissapear
Thsk
Re: System Hung
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.
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
I am very afraid that we are using the old broker
Re: System Hung
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.
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.