Re: Nagios Portal Issue
Posted: Mon Mar 15, 2021 11:03 am
Hi,
Since you've upgraded to 5.8.2, the backend database is running ndo3. However, you are having issues with the monitoring engine stopping or crashing and/or check results not getting processed in the GUI. I would recommend changing the backend database program back to ndo2bd. Here are the instructions for an offloaded database.
DOWNGRADE NDO WITH OFFLOADED DB
Offloaded DB Changes
(If you have an offloaded DB you'll need to do these things:)
1. Edit /tmp/nagiosxi/xi-sys.cfg and update 'mysqlpass' value.
2. Edit /tmp/nagiosxi/subcomponents/ndoutils/mods/cfg/ndo2db.cfg and update 'db_host', 'db_user', and 'db_pass' values.
3. Edit /tmp/nagiosxi/subcomponents/ndoutils/install and /tmp/nagiosxi/subcomponents/ndoutils/post-install to update all calls to mysql to include -h <db_ip>
Then compile and install the ndo2db service.
Make sure to take a full backup before making any changes.
--Benjamin
Since you've upgraded to 5.8.2, the backend database is running ndo3. However, you are having issues with the monitoring engine stopping or crashing and/or check results not getting processed in the GUI. I would recommend changing the backend database program back to ndo2bd. Here are the instructions for an offloaded database.
DOWNGRADE NDO WITH OFFLOADED DB
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
(If you have an offloaded DB you'll need to do these things:)
1. Edit /tmp/nagiosxi/xi-sys.cfg and update 'mysqlpass' value.
2. Edit /tmp/nagiosxi/subcomponents/ndoutils/mods/cfg/ndo2db.cfg and update 'db_host', 'db_user', and 'db_pass' values.
3. Edit /tmp/nagiosxi/subcomponents/ndoutils/install and /tmp/nagiosxi/subcomponents/ndoutils/post-install to update all calls to mysql to include -h <db_ip>
Then compile and install the ndo2db service.
Code: Select all
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
chkconfig ndo2db on
service ndo2db start
--Benjamin