Hi all,
We have Nagios XI 2014R1.0 on RHEL 6.5 64 bits. The hardware specification is Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz with 32GB. Now we are monitoring 38 hosts and 370 Services total.
After restart the server, memory usage is around 7%. But after two days, memory usage reached to 95% and CPU usage is around 6%. Is it normal or something wrong with the configuration?
Let me know which configuration need to change.
Thanks.
Nagios XI's memory usage high
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios XI's memory usage high
How are you coming up with the memory usage? Service check?
Some screenshots will be helpful.
Some screenshots will be helpful.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios XI's memory usage high
Hi Box293,Box293 wrote:How are you coming up with the memory usage? Service check?
Some screenshots will be helpful.
My Nagios system monitor 38 hosts and 370 services now. After one week later, the memory usage of Nagios system reached to 95%.
Here is the screenshot of my Nagios system.
Here is the summary of total host and services.
Thanks.
Re: Nagios XI's memory usage high
Can you show us the actual check that you are running from the command line, along with the output of it? I suspect this is caused by cached memory. Read more about this here:
http://support.nagios.com/wiki/index.ph ... ree_Memory
http://support.nagios.com/wiki/index.ph ... ree_Memory
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios XI's memory usage high
Here is the result from command line check.
Here is the top command result on Nagios server.
Am I wrongly use the plugin for nagios server's memory usage?
Thanks.
Code: Select all
[root@nagios01 libexec]# ./check_snmp_storage_wizard.pl -H 192.168.40.28 -C public -2 -m Physical memory -w 80 -c 95
Physical memory: 95%used(30487MB/32072MB) (>95%) : CRITICAL
[root@nagios01 libexec]#Code: Select all
top - 10:22:10 up 7 days, 23:34, 1 user, load average: 0.27, 0.20, 0.18
Tasks: 300 total, 1 running, 299 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.7%us, 0.4%sy, 0.0%ni, 96.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 32841340k total, 31232864k used, 1608476k free, 223016k buffers
Swap: 2097144k total, 1168k used, 2095976k free, 28753080k cached
Thanks.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios XI's memory usage high
I'm kind of at a loss why you are using an SNMP check for a local check.
Why not try:
http://exchange.nagios.org/directory/Ad ... ck/details
Why not try:
http://exchange.nagios.org/directory/Ad ... ck/details
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios XI's memory usage high
Actually we have 2 nagios servers means one is active and one is standby. That why we use SNMP check.Box293 wrote:I'm kind of at a loss why you are using an SNMP check for a local check.
Why not try:
http://exchange.nagios.org/directory/Ad ... ck/details
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios XI's memory usage high
Ahhh that makes sense. In that case I suggest checking by NRPE. Nagios XI actually has the NRPE client installed and listening by default.
You just need to:
You just need to:
- Edit /etc/xinetd.d/nrpe and add the nagios xi ip address of the other server
Add the NRPE check definition to /usr/local/nagios/etc/nrpe.cfg for the memory plugin check
service xinetd restart
Finally open the port on the firewall
iptables -I INPUT -p tcp --destination-port 5666 -j ACCEPT
service iptables save
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios XI's memory usage high
This issue has been solved. We used check_snmp_mem.pl plugin to monitor the memory usage of our nagios server.
Thanks.
Thanks.