check_nt - MEMORY USAGE - incorrect results

C. Bensend benny at bennyvision.com
Thu Jan 10 14:57:01 CET 2013


Not entirely accurate.

I just started troubleshooting a Win2008 R2 system yesterday - it has
16GB of physical RAM + 16 GB pagefile for a total of 32GB of virtual
memory.

The system is using 10.9GB of physical RAM, yet check_nt tells me
it's using 2.69GB.  Completely wrong, even if check_nt was only
talking about physical, only talking about virtual, or talking about
the sum.

Solution?  Remove yet another checkcommand using that outdated
program.

Benny


> this because in your server 2008 you will see that there is a virtual
> memory activated, go to Computer proprieties and see in performences you
> will have for exemple for " R2 (x64) server box (has SQL installed on it)
>> 12GB ram installed " 12GB of virtual memory.Finaly, Nagios take the some
> of
> memories ( virual memory + RAM).
>
>
>
> 2013/1/9 Andrew Thompson <andrew at fulgent.co.uk>
>
>>  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
>> 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
>>
>
>
>
> --
> Cordialement,
>
>  Omar SADDIKI
>  Master Réseaux et Systèmes
> ------------------------------------------------------------------------------
> 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_______________________________________________
> 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


-- 
"The very existence of flamethrowers proves that sometime, somewhere,
someone said to themselves, 'You know, I want to set those people
over there on fire, but I'm just not close enough to get the job
done.'"                          -- George Carlin


------------------------------------------------------------------------------
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
_______________________________________________
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