Page 1 of 1

Memory Usage shows wrong value

Posted: Mon Mar 30, 2015 6:39 am
by cloudcom
Hi,
I noticed that memory usage does not work properly. Memory usage has 3 fields: total,used and free.

total info is incorrent. For example, nagios shows memory informaiton of a windows server as Memory usage: total:40843.42 Mb - used: 11726.16 Mb (29%) - free: 29117.26 Mb (71%) but when i check the memory on the server, i see that it is total 20GB - used 11.2GB -free 8GB

So, "memory used" shows correct value but total and free informations are wrong.

Check processes are done by nagios agent. (check_xi_service_nsclient!mypassword!MEMUSE!-w 80 -c 90)

Any idea?

Platform is:
Centos 6.5 64bit version
Nagios Core 4.0.5
Nagios XI 2014R1.0

Re: Memory Usage shows wrong value

Posted: Mon Mar 30, 2015 11:25 am
by abrist
It is probably showing the total amount of memory - physical and virtual. It sounds like you just want to check physical, which can be done through nrpe through nsclient. See Box293's examples here:
http://sites.box293.com/nagios/guides/c ... mory-usage
This has been much discussed on these forums as well:
http://www.nagios.com/search#gsc.tab=0& ... gsc.page=1

Re: Memory Usage shows wrong value

Posted: Wed Apr 01, 2015 6:07 am
by cloudcom
Thanks abrist.
I got it. it works fine.