Nagios 5.7.5 seems slower not faster

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios 5.7.5 seems slower not faster

Post 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/?
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Re: Nagios 5.7.5 seems slower not faster

Post 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.
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Re: Nagios 5.7.5 seems slower not faster

Post 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.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios 5.7.5 seems slower not faster

Post 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
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Re: Nagios 5.7.5 seems slower not faster

Post 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.
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Re: Nagios 5.7.5 seems slower not faster

Post 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.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios 5.7.5 seems slower not faster

Post 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
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Re: Nagios 5.7.5 seems slower not faster

Post by HIINNS »

Thank you. You can now consider the case closed. It was figured out that the /etc/sysctl.conf needed come additional entries.
Locked