NSClient Reporting Twice the Memory in a Windows Machine

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
w14219
Posts: 33
Joined: Wed Feb 15, 2012 2:04 am

NSClient Reporting Twice the Memory in a Windows Machine

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NSClient Reporting Twice the Memory in a Windows Machine

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
dbeasley
Posts: 8
Joined: Thu Feb 09, 2012 4:23 pm

Re: NSClient Reporting Twice the Memory in a Windows Machine

Post 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.
Locked