This has been going on with my Nagios server memory usage since I upgraded to 5.7.2.
Memory usage before was in the range of 3gb.
Now as you can see it is all over the place with some drop outs.
Current alarm shows 13 out of 15 gb in use.
nagiosxi.primeinc.com Memory Usage 9h 45m 10s WARNING - 2504 / 15883 MB (15%) Free Memory, Used: 13378 MB, Shared: 1660 MB, Buffers + Cached: 2116 MB
The swap file is using 85% also.
I'm attaching a graph image too.
Memory Usage after Upgrade to 5.7.2
Memory Usage after Upgrade to 5.7.2
You do not have the required permissions to view the files attached to this post.
Tom Barnett
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Memory Usage after Upgrade to 5.7.2
Hi Tom,
Have you had issues receiving notifications or status updates for hosts and services? I'd like to review the system profile on this server to check the logs. You can send it over has private messages since the profile contains private information. Thanks, Benjamin
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 share in a private message or upload it to the post/ticket, and then reply to this post to bring it up in the queue.
Have you had issues receiving notifications or status updates for hosts and services? I'd like to review the system profile on this server to check the logs. You can send it over has private messages since the profile contains private information. Thanks, Benjamin
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 share in a private message or upload it to the post/ticket, and then reply to this post to bring it up in the queue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Memory Usage after Upgrade to 5.7.2
Hi Tom,
Found a few things in the system profile that will need some corrections. One, there are some crashed database tables, please log in as root to the terminal and run the following command to repair the databases:
NPCD is shutting down. This is the process that handles performance data and graphs.
The RAMDISK is full, I would increase the size if possible. Take a look at page 6 of the following guide for where to adjust the size.
https://assets.nagios.com/downloads/nag ... giosXI.pdf
Once you make those changes, do a full re-start ( commands below ) and let the system run for while. If you are still having issues, please send a fresh profile again. Thanks, Benjamin
Found a few things in the system profile that will need some corrections. One, there are some crashed database tables, please log in as root to the terminal and run the following command to repair the databases:
Code: Select all
/usr/local/nagiosxi/scripts/repair_databases.sh
Let's log into /usr/local/nagios/etc/pnp/npcd.cfg and decrease the load_threshhold to 50 or 60. The current value is too high and using too much memory, it will take as much as you give it.[07-18-2019 20:45:22] NPCD: Caught Termination Signal - Hasta la vista... baby
Code: Select all
load_threshold = 50.0https://assets.nagios.com/downloads/nag ... giosXI.pdf
Once you make those changes, do a full re-start ( commands below ) and let the system run for while. If you are still having issues, please send a fresh profile again. Thanks, Benjamin
Code: Select all
systemctl stop crond
systemctl stop npcd
systemctl stop nagios
pkill -9 -u nagios
rm -rf /usr/local/nagiosxi/var/dbmaint.lock
rm -rf /usr/local/nagiosxi/var/event_handler.lock
rm -rf /usr/local/nagiosxi/scripts/reconfigure_nagios.lock
systemctl restart mariadb
systemctl start nagios
systemctl start npcd
systemctl start crond
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Memory Usage after Upgrade to 5.7.2
Thanks Benjamin I am trying these items this AM.
I'll get back to you.
Tom
I'll get back to you.
Tom
Tom Barnett
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
Re: Memory Usage after Upgrade to 5.7.2
Ben,
Well I decided to restart Nagios again and now I am seeing graph data and things look much more settled.
Let's let this thing run for a while and I'll take another look.
again, thanks for your help.
Tom
Well I decided to restart Nagios again and now I am seeing graph data and things look much more settled.
Let's let this thing run for a while and I'll take another look.
again, thanks for your help.
Tom
Tom Barnett
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Memory Usage after Upgrade to 5.7.2
Hi Tom,
Thanks for the update. We'll keep this thread open and let us know if anything changes.
Thanks for the update. We'll keep this thread open and let us know if anything changes.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Memory Usage after Upgrade to 5.7.2
It continues to work fine this AM. I'd say if you haven't heard from me in a day or two feel free to close the case.
Thanks again for your help.
Tom
Thanks again for your help.
Tom
Tom Barnett
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
Senior Systems Administrator
Prime, inc.
2740 N. Mayfair Ave
Springfield, MO 65803
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Memory Usage after Upgrade to 5.7.2
Hi Tom,
Sounds good!
Sounds good!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!