Discussion:
[Nagios-users] check_nt - MEMORY USAGE - incorrect results
Andrew Thompson
2013-01-09 17:55:16 UTC
Permalink
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
omar saddiki
2013-01-10 08:55:20 UTC
Permalink
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).
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.
http://p.sf.net/sfu/learnmore_122612
_______________________________________________
Nagios-users mailing list
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
Matthew Jurgens
2013-01-10 09:20:50 UTC
Permalink
Try www.edcint.co.nz/checkwmiplus using the checkmem mode and see if it
works ok for you
Post by omar saddiki
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).
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
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
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
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
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.
http://p.sf.net/sfu/learnmore_122612
_______________________________________________
Nagios-users mailing list
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
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Nagios-users mailing list
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
--
Smartmon System Monitoring <http://www.smartmon.com.au>
www.smartmon.com.au <http://www.smartmon.com.au>
C. Bensend
2013-01-10 13:57:01 UTC
Permalink
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
Post by omar saddiki
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).
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.
http://p.sf.net/sfu/learnmore_122612
_______________________________________________
Nagios-users mailing list
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
http://p.sf.net/sfu/learnmore_122712_______________________________________________
Nagios-users mailing list
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
Scott Wilkerson
2013-01-10 14:03:11 UTC
Permalink
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: ***@nagios.com
Web: www.nagios.com
Post by Andrew Thompson
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
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
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
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
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.
http://p.sf.net/sfu/learnmore_122612
_______________________________________________
Nagios-users mailing list
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
FTL Nagios
2013-01-10 14:50:44 UTC
Permalink
Thankyou I will look at this instead.



Thanks to all for your input and help



From: Scott Wilkerson [mailto:***@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: ***@nagios.com <mailto:***@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-***@lists.sourceforge.net
<mailto:Nagios-***@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
Continue reading on narkive:
Loading...