Page 1 of 1

nagiosxi crashing

Posted: Wed Feb 07, 2018 11:24 am
by adt7108
Support,

Over the past few months our NagiosXI server keeps crashing. From what I can see it appears the ndo2db messages stop processing and fills the memory on the server and then it crashes. This happens randomly, it happened sometime early this morning and I rebooted the server and then about 30 mins ago I was watching the 'ipcs -q' and the number of messages was just continuing climb. So I stopped nagios service and restarted ndo2db service and then started nagios service back up and all is well. I have applied the 'https://support.nagios.com/kb/article/n ... d-139.html' which has only seemed to prolong the crash. I have enabled ndo2db debugging but I have only see the sql insert commands in there.

Any ideas what might be the issue or where to troubleshoot this issue?

Re: nagiosxi crashing

Posted: Wed Feb 07, 2018 11:39 am
by npolovenko
Hello, @adt7108. If your system is large enough you may need to increase msgmnb and msgmax even more. I'd recommend to double them:

Code: Select all

sed -i 's/^kernel\.msgmnb.*/kernel\.msgmnb = 524288000 /g' /etc/sysctl.conf
sed -i 's/^kernel\.msgmax.*/kernel\.msgmax = 524288000 /g' /etc/sysctl.conf
Otherwise, please send in your nagios xi profile so that I can review it:
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and attach it to your next post. Or you can upload it to a cloud storage of your choice and share a link with me via PM. If you do that please post something in this thread to bring it back up in the support queue.

Re: nagiosxi crashing

Posted: Wed Feb 07, 2018 3:53 pm
by adt7108
Thank @npolovenko I will give that a try. The server is pretty beefy so well see what happens.

Re: nagiosxi crashing

Posted: Wed Feb 07, 2018 4:35 pm
by dwhitfield
adt7108 wrote:well see what happens.
Let us know!

Re: nagiosxi crashing

Posted: Fri Feb 09, 2018 3:57 pm
by adt7108
So far it seems fixed, no crashes. You may close this, if it happens again. I will reopen in the customer section as I have access to that forum section now :D .

Re: nagiosxi crashing

Posted: Fri Feb 09, 2018 3:58 pm
by kyang
Sounds good! I'll be closing this thread!

If you have any more questions, feel free to create another thread.

Thanks for using the Nagios Support Forum!