Page 2 of 2

Re: Nagios process memory usage growing

Posted: Fri Dec 18, 2020 2:43 pm
by benjaminsmith
Hi Robert,

Make sure the broker module is being loaded in the nagios.cfg file and the ndo module is commented out.

Code: Select all

broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
The error log is suggesting that it is not able to establish a connection the nagios (ndoutils) dataabse. Make sure the service is running:

Code: Select all

systemctl status mariadb
Then double-check all the connections settings host, username, password. The password is stored in the following files

Code: Select all

vi /usr/local/nagios/etc/ndo2db.cfg
And

Code: Select all

vi /usr/local/nagiosxi/html/config.inc.php
See this doc for more details: How to Change Default Passwords

Also, check the database to make sure there are no corrupted tables.

Code: Select all

tail -n 50 /var/log/mariadb/mariadb.log
Lastly, if this is impacting your production server and the issue persists, let's get a ticket opened for this. Please reference this post and provide an updated system profile.

Re: Nagios process memory usage growing

Posted: Wed Jan 06, 2021 10:59 am
by sgargano
Hi Benjamin,

now it seems to work again. After downgrade some .cfg files and also ndomod.o was missing.
Luckily it was not the prd system since we rollback when the problem appeared the first time.

I will try to upgrade the prd system again once the new release is available and hope that everything is working as expected.

Thank you very much for your support

br
Robert

Re: Nagios process memory usage growing

Posted: Wed Jan 06, 2021 12:27 pm
by benjaminsmith
Hi,

Thanks for the update and glad to hear it's working now.

If you need any assistance with the upgrade, just open a new ticket or forum thread and we'll be happy to assist you.

--Benjamin