Page 1 of 1

NSClient Reporting Twice the Memory in a Windows Machine

Posted: Fri Mar 30, 2012 7:50 pm
by w14219
Nagios Server: Nagios Core 3.31
Server OS: Ubuntu 10.04.3

Issue: I am finding that all the Windows Servers and Windows Workstations are reporting twice the amount of physical memory available in the machine.

Question:
Why is Nagios reporting twice the actual amount of Physical memory installed in the computer? How can I resolve this?

Thank you,
Mike

Re: NSClient Reporting Twice the Memory in a Windows Machine

Posted: Mon Apr 02, 2012 4:47 pm
by scottwilkerson
This depends on what command you are sending but several use all memory (including paged)

If you were using http://nsclient.org/nscp/wiki/CheckMem
you would need to add type=physical to the command

Re: NSClient Reporting Twice the Memory in a Windows Machine

Posted: Tue Apr 03, 2012 9:14 am
by dbeasley
Just wanted to second this that I had the same issue and yes it's because the Windows "NSClient" basic memory check includes physical plus paged. Was an awesome surprise when we had a SQL server technically out of memory but I thought it was running just fine at 50%.

You'll need to switch to the NRPE memory checks and specify physical as Scott Wilkerson said. This may require tweaking your NSC.ini file.