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
NSClient Reporting Twice the Memory in a Windows Machine
-
- 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
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
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
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.
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.