Page 2 of 2
Re: Nagios 5.7.5 seems slower not faster
Posted: Mon Jan 25, 2021 5:05 pm
by dchurch
Like I stated before, having a system profile is really the best way I can diagnose your issue, because it contains things like error logs, a database dump, a list of running processes, system network configuration, disk usage info, and more -- all of which wouldn't be contained in a simple config file dump like the one you sent me.
A system profile also contains the latest Nagios Core config files like the ones contained in your NagiosConfigFiles.zip so no need to send those separately.
If you are uncomfortable sending a system profile, can you at least PM me a tarball of the logs in /usr/local/nagiosxi/var/?
Re: Nagios 5.7.5 seems slower not faster
Posted: Tue Jan 26, 2021 10:28 am
by HIINNS
New error message -> journal: Suppressed 436279 messages from /system.slice/ndo2db.service
ndo2db: Error: queue recv error.
ndo2db: Error: queue recv error.
etc. (thousands of times in /var/log/messages.
Re: Nagios 5.7.5 seems slower not faster
Posted: Tue Jan 26, 2021 10:31 am
by HIINNS
I did execute the following commands as root.
rm -rf /usr/local/nagiosxi/var/components/profile*
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORT
I sent a sanitized version of the /usr/local/nagiosxi/var/components/profile.zip file.
If needed please specify the additional files you need to troubleshoot this matter.
Thank you.
Re: Nagios 5.7.5 seems slower not faster
Posted: Tue Jan 26, 2021 3:22 pm
by dchurch
ndo2db, (sometimes called the Database Backend) is no longer needed in Nagios XI.
ndo2db is our older technology that basically listens on a UNIX socket for database inserts, then handles the actual insertion into the database. It has limits, being that it runs into issues when it tries to insert more than the database can handle. In newer versions (
Nagios XI 5.7.0 and later), this was replaced by just writing directly to the database from the Nagios worker threads. In addition to being able to handle more database inserts, this resulted in an overall performance boost, too.
If you run the following as root, it should take care of disabling ndo2db:
Code: Select all
systemctl stop ndo2db
systemctl disable ndo2db
Re: Nagios 5.7.5 seems slower not faster
Posted: Wed Jan 27, 2021 5:26 am
by HIINNS
Thank you. Its working now. Prior to this we stopped the ndo2db service, but the problem persisted. I guess disabling the service fixed the problem Anyway, thank you again for all your help. Feel free to close out this case.
Re: Nagios 5.7.5 seems slower not faster
Posted: Wed Jan 27, 2021 9:43 am
by HIINNS
I was premature in closing this case out. It seems that NAGVIS keeps restarting the ndo2db service and my problems start all over.
Re: Nagios 5.7.5 seems slower not faster
Posted: Wed Jan 27, 2021 4:35 pm
by dchurch
NagVIS is a third-party product, and as such you'll have to check with them for support, but here are some links that might help:
- Description of NagVis backends:
http://docs.nagvis.org/1.5/en_US/backends.html
- Description of main config file (i.e. how to change and configure backend):
http://docs.nagvis.org/1.5/en_US/nagvis ... ml#backend
Re: Nagios 5.7.5 seems slower not faster
Posted: Thu Jan 28, 2021 8:16 am
by HIINNS
Thank you. You can now consider the case closed. It was figured out that the /etc/sysctl.conf needed come additional entries.