Memory Usage shows wrong value

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cloudcom
Posts: 67
Joined: Tue Jul 02, 2013 1:41 am

Memory Usage shows wrong value

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Memory Usage shows wrong value

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
cloudcom
Posts: 67
Joined: Tue Jul 02, 2013 1:41 am

Re: Memory Usage shows wrong value

Post by cloudcom »

Thanks abrist.
I got it. it works fine.
Locked