Page 1 of 1
Nagiosxi interface stops update hosts and services status
Posted: Wed Oct 14, 2020 6:03 am
by licence
Hello,
I have problem with our nagios server. On nagiosxi website stops update of service or host status. For example last chceck of host was 2020-08-19 12:52:08. It was after upgrade to 5.7.1 version. Monitoring engine works fine, nagios interface shows everything correctly but nagiosxi does not.
At now I reinstalled server to newest version and restore configuration from old, but problem is still the same.
Centos 7 64bit, virtual on Hyper-V
Re: Nagiosxi interface stops update hosts and services statu
Posted: Wed Oct 14, 2020 4:36 pm
by cdienger
The current version of XI is 5.7.3 which has some fixes so I would try upgrading to that. If you're still experiencing the problem with 5.7.3 then I would recommend downgrading to the old ndo2db(from the 5.6.x version of XI) until the 5.7.4 release:
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
# START OFFLOADED DB SECTION - If you have an offloaded DB you'll need to do these things:
Edit /tmp/nagiosxi/xi-sys.cfg and update 'mysqlpass' value.
Edit /tmp/nagiosxi/subcomponents/ndoutils/mods/cfg/ndo2db.cfg and update 'db_host', 'db_user', and 'db_pass' values.
Edit /tmp/nagiosxi/subcomponents/ndoutils/install and /tmp/nagiosxi/subcomponents/ndoutils/post-install to update all calls to mysql to include -h <db_ip>
# END OFFLOADED DB SECTION
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
systemctl enable ndo2db
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 this line is commented:
Code: Select all
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
Then start the nagios service:
Re: Nagiosxi interface stops update hosts and services statu
Posted: Fri Oct 16, 2020 3:01 am
by licence
Thanks for recommendation.
I installed nagiosxi-5.7.4-1.el7.x86_64 - we use offline version.
Problem is still the same.
I will downgrade system, but I want upgrade it to newer version in the future...
Re: Nagiosxi interface stops update hosts and services statu
Posted: Fri Oct 16, 2020 3:08 pm
by cdienger
Before you downgrade, would you be able to provide me with a profile? It can be generated under Admin > System Config > System Profile > Download Profile, or from the command line with:
Code: Select all
/usr/local/nagiosxi/scripts/components/getprofile.sh 658320
The profile is then saved to /usr/local/nagiosxi/var/components/profile.zip. Please send it to me in a private message.