Page 1 of 1

NagiosXI server memory usage

Posted: Thu Dec 07, 2017 1:41 pm
by gregwhite
We are using check_local_memory for our memory check on our NagiosXI server. The server is running Centos 6.5.
Recently we have been getting both warning and critical alerts. The thresholds are set to w: 5 and c:2. The servers performance did not seem desegregated. We came across a post where a person said that this command doesn't yield accurate memory usage because it counts cached memory as used and not free. He recommended using -n at the end of the command and when we did it should 20 gig free out of 24. Before putting this in production I wanted to verify this with you and make sure we are getting accurate information on memory usage.

Thanks,
Greg

Re: NagiosXI server memory usage

Posted: Thu Dec 07, 2017 2:49 pm
by lmiltchev
Does the "check_local_memory" use the custom_check_mem plugin? If it does, then you will be able to include the cached memory to the free memory by using the "-n" flag.

We have a KB article on the topic here:
https://support.nagios.com/kb/article/n ... y-171.html

Let us know if you have any more questions.

Re: NagiosXI server memory usage

Posted: Thu Dec 07, 2017 3:36 pm
by gregwhite
Thanks

Re: NagiosXI server memory usage

Posted: Thu Dec 07, 2017 4:14 pm
by lmiltchev
You are welcome @gregwhite! Is it ok to lock this topic?