Windows Servers report incorrect installed memory

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
stebbo
Posts: 75
Joined: Sat Aug 04, 2012 9:13 pm

Windows Servers report incorrect installed memory

Post by stebbo »

Hi All,

I've just noticed that my Windows servers are reporting the 'incorrect' amount of memory installed. They seem to report double the physical RAM, which I assume means that they're reporting the physical plus the virtual ram as being availabe RAM. I am using nsclient++ (0.4.1.90 on a few of the machines) and using the check_nt command with MEMUSE argument.

Is this the expected behaviour? Is it possible to get either nsclient or the check_nt command to report just physical ram?

Cheers,
Chris.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Windows Servers report incorrect installed memory

Post by lmiltchev »

It's a known issue. I would recommend using CheckMem with NRPE:

http://www.nsclient.org/nscp/wiki/CheckSystem/checkMem
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Windows Servers report incorrect installed memory

Post by WillemDH »

Doesn't MEMUSE uses the committed bytes in use and committed bytes limit as counter?

Example Server Nagios output:
Memory usage: total:10077.82 Mb - used: 6577.12 Mb (65%) - free: 3500.70 Mb (35%)

When going to performance monitor on this particular server, in this example when you divide the average value 6817336361 / 1024 / 1024 => 6501 whats pretty close to the 6577.12 MB Nagios returns. As Nagios is configured to onyl run the check every 5 minutes, I was thinking committed bytes was the value used. Also the % committed bytes in use is displayed correctly..

Or am I wrong?

Using checkmem gives obviously much more options... http://www.nsclient.org/nscp/wiki/CheckSystem/checkMem .. I still have to look into it though :)

Can someone please confimr or deny MEMUSE makes use of the committed bytes / commit limit performance counter?

Monitoring memory for Windows can be a pain as different kind of servers use their memory in a different way. SQL and Sharepoint server for example almost always use all their available RAM, what can make monitoring RAM only good for statistics.
SCOM for example will by default only alert for % committed bytes in use, not for pagefile or RAM usage.
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Windows Servers report incorrect installed memory

Post by yancy »

WillemDH,

NSClient can monitor any performance counter (not certain which one checkmem uses though)

http://www.nsclient.org/nscp/wiki/Check ... eckCounter

Hope that helps,

-Yancy
Locked