Andrew Thompson
2013-01-09 17:55:16 UTC
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
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