Page 1 of 1
Memcache vs the Memory Usage monitor
Posted: Wed Apr 19, 2017 2:32 pm
by InscrutableDude
I have a question. Several of our servers use memcache. Is there a way to make the Memory Usage monitor look at %commit instead of memory used? Since most of the ram is used by cache, it means that on a server with 14GB of RAM, about 800MB is technically "free", which generates critical alerts.
Thanks!
Re: Memcache vs the Memory Usage monitor
Posted: Wed Apr 19, 2017 3:01 pm
by tacolover101
it really depends based on the plugin you're using to check memory. what one is it? probably worth looking at the help menu to see if there's a flag to specify.
Re: Memcache vs the Memory Usage monitor
Posted: Wed Apr 19, 2017 4:06 pm
by dwhitfield
If you aren't using something that comes with XI by default, can you please share a link to the code for the plugin or just attach the plugin? Thanks!
Re: Memcache vs the Memory Usage monitor
Posted: Fri Apr 21, 2017 2:56 pm
by InscrutableDude
Sorry for the late reply, I got pulled onto multiple other projects.
I have no custom stuff installed at all. The is the basic Memory Usage monitor that comes with NRPE.
Re: Memcache vs the Memory Usage monitor
Posted: Sun Apr 23, 2017 5:28 pm
by dwhitfield
I'm not aware or a way to do anything with %commit in the standard install, but it looks like
https://exchange.nagios.org/directory/P ... ce/details could easily be modified to get the %commit info from sar.
Are you using a different tool other than sar to get that %commit info?
Re: Memcache vs the Memory Usage monitor
Posted: Thu Apr 27, 2017 10:54 am
by InscrutableDude
I'm not currently using SAR on that server, but it's the idea that I was trying to convey. When looking at SAR output, you see the difference between "Usage" and ACTUAL usage.
Let me know if there's a way to get similar info, I'm not tied specifically to %commit.
I'll check that doc you referenced and see if that will work for me. I'll update here asap. Thanks!
Re: Memcache vs the Memory Usage monitor
Posted: Thu Apr 27, 2017 2:09 pm
by tgriep
To get what you are looking for, you would have to install another plugin on the remote server or see if there is a plugin that used SNMP and enable SNMP on the remote server.
Have you searched the exchange site for a plugin that will work for you?
https://exchange.nagios.org/