Nagiosxi interface stops update hosts and services status

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
licence
Posts: 12
Joined: Tue Jan 26, 2016 2:26 am

Nagiosxi interface stops update hosts and services status

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagiosxi interface stops update hosts and services statu

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

Code: Select all

systemctl start nagios
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
licence
Posts: 12
Joined: Tue Jan 26, 2016 2:26 am

Re: Nagiosxi interface stops update hosts and services statu

Post 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...
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagiosxi interface stops update hosts and services statu

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked