check_nt - MEMORY USAGE - incorrect results

Andrew Thompson andrew at fulgent.co.uk
Wed Jan 9 18:55:16 CET 2013


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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130109/18c458e8/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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 
-------------- 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