check_nt - MEMORY USAGE - incorrect results

FTL Nagios ftlnagios at gmail.com
Thu Jan 10 15:50:44 CET 2013


Thankyou I will look at this instead.

 

Thanks to all for your input and help

 

From: Scott Wilkerson [mailto:swilkerson at nagios.com] 
Sent: 10 January 2013 14:03
To: Nagios Users List
Subject: Re: [Nagios-users] check_nt - MEMORY USAGE - incorrect results

 

check_nt 's MEMUSE includes the page file.

If you use checkMem via NRPE you can choose only physical

http://www.nsclient.org/nscp/wiki/CheckSystem/checkMem





Scott Wilkerson
Technical Support Specialist
___
Email: swilkerson at nagios.com <mailto:swilkerson at nagios.com> 
Web:   www.nagios.com <http://www.nagios.com> 

On 1/9/2013 11:55 AM, Andrew Thompson wrote:

Hi all,

 

Using the supplied check_nt plugin to check Memory Usage on Windows servers.

 

Some report correctly, others report a complete load of old tosh!!!

 

I have tried 3 different versions of Windows OS, the version seems to make
no odds.

Doesn't matter if 32 or 64 bit either.

 

 

 

Some examples

 

 

 

MY primary domain controller - Windows Server 2008 R2 (x64) - 8GB ram
installed

 

Output from the check appears correct:

Memory usage: total:8205.64 Mb - used: 2902.96 Mb (35%) - free: 5302.67 Mb
(65%)

	

 

 

 

Another 2008 R2 (x64) server box (has SQL installed on it) - 12GB ram
installed

 

Output thinks its got 24GB:

Memory usage: total:24573.16 Mb - used: 1796.71 Mb (7%) - free: 22776.45 Mb
(93%) 

 

 

 

 

A Server 2003 Standard (x86) box (an internal test web server) - 512MB ram
installed

 

Output thinks its got over 1GB:

Memory usage: total:1257.50 Mb - used: 333.30 Mb (27%) - free: 924.20 Mb
(73%)

 

 

 

A Server 2012 (x64) box (with HyperV installed) - 28GB ram installed

 

Output thinks tis got 32GB:

Memory usage: total:32500.80 Mb - used: 16709.37 Mb (51%) - free: 15791.43
Mb (49%)

 

 

 

 

Anybody any ideas as to why check_nt is returning incorrect info. I know its
incorrect but Nagios doesn't so where exactly is it reading these values
from?

 

Thanks in advance for anybodies input.

 

Regards

 

 

 






----------------------------------------------------------------------------
--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 






_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
<mailto:Nagios-users at lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130110/a3760b52/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list